Pin generated Gradle wrapper

This commit is contained in:
Dark98
2026-07-02 05:15:37 +01:00
parent 4a1b873d2c
commit 4b62fa108a
3 changed files with 36 additions and 12 deletions
+2 -4
View File
@@ -2,10 +2,8 @@
## Bugs
- The generated `gradlew` wrapper just forwards to the system `gradle` package. That is convenient in Termux, but it means builds are not pinned to a project-specific Gradle wrapper version.
- The generated app pins Android Gradle Plugin `8.5.2` without pinning a compatible Gradle wrapper version. That can break when the installed Gradle package changes or is incompatible with that plugin version.
- The CLI is now split into a dispatcher plus per-command scripts under `lib/commands/`, which improves readability but adds more files to maintain.
No known bugs at the moment.
## TODO
- Consider generating a real Gradle wrapper for new projects instead of relying on `gradle` from Termux.
- Consider vendoring wrapper files so `android-builder new` does not need a system `gradle` binary at generation time.