这是indexloc提供的服务,不要输入任何密码
Skip to content

Update gradle plugin to version 4.1.3 to be in "sync" with termux-app project. #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
1 commit merged into from
May 6, 2021

Conversation

edupsousa
Copy link
Contributor

The project termux-app currently uses gradle-plugin version 4.1.3, and termux-float uses 4.0.0.

This version mismatch leads to slightly different build environments and the need to download different Android NDK versions (~1GB each) to build each project.

Bumping gradle plugin version from 4.0.0 to 4.1.3 avoids those different build environments (and the NDK download) and as far as I tested doesn't break the build.

@ghost
Copy link

ghost commented May 6, 2021

Gradle plugin unlikely to cause download different NDK, but dependencies can do this.

Termux has recently bumped its NDK version (https://github.com/termux/termux-app/blob/master/gradle.properties#L23) and released com.termux:terminal-view v0.112. Termux float uses older variant of com.termux:terminal-view which is v0.106 only. That's why different NDK is downloaded.

Bumping gradle plugin version from 4.0.0 to 4.1.3 avoids those different build environments (and the NDK download)

Probably because NDK already was installed (that's a "side-by-side" installation which allows multiple versions).

@edupsousa
Copy link
Contributor Author

edupsousa commented May 6, 2021 via email

@ghost ghost merged commit 13c753e into termux:master May 6, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant