apksigner&termux-am: Avoid using gradle daemon

By default gradle spawns a daemon which keeps on running in the
background long after the package has been built and taking up
precious ram. Avoid this.
This commit is contained in:
Fredrik Fornwall 2018-08-20 23:24:18 +02:00
parent 80c5d83cb5
commit 9faacc723f
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ termux_step_make () {
cp apksigner.1 $TERMUX_PREFIX/share/man/man1/
./gradlew
GRADLE_OPTS=" -Dorg.gradle.daemon=false" ./gradlew
$TERMUX_D8 \
--classpath $ANDROID_HOME/platforms/android-$TERMUX_PKG_API_LEVEL/android.jar \
--release \

View File

@ -10,7 +10,7 @@ TERMUX_PKG_CONFLICTS="termux-tools (<< 0.51)"
termux_step_make () {
export ANDROID_HOME
./gradlew :app:assembleRelease
GRADLE_OPTS=" -Dorg.gradle.daemon=false" ./gradlew :app:assembleRelease
}
termux_step_make_install () {