disable gradle deamon
Some checks are pending
Build apps to test the derivations / generate-matrix (push) Waiting to run
Build apps to test the derivations / build-app (push) Blocked by required conditions

This commit is contained in:
Osman Faruk Bayram 2025-10-27 15:05:34 +03:00
parent 54822309d4
commit 7abb221bfe
4 changed files with 6 additions and 4 deletions

View file

@ -62,7 +62,7 @@ pkgs.stdenv.mkDerivation rec {
buildPhase = '' buildPhase = ''
gradle assembleDebug --info -I ${gradle-init-script} \ gradle assembleDebug --info -I ${gradle-init-script} \
--offline --full-stacktrace -x lint -x lintDebug -x lintRelease -x test \ --offline --full-stacktrace -x lint -x lintDebug -x lintRelease -x test --no-daemon \
-Dorg.gradle.project.android.aapt2FromMavenOverride=$ANDROID_HOME/build-tools/36.0.0/aapt2 \ -Dorg.gradle.project.android.aapt2FromMavenOverride=$ANDROID_HOME/build-tools/36.0.0/aapt2 \
-Dfile.encoding=utf-8 -Dfile.encoding=utf-8
''; '';

View file

@ -47,7 +47,8 @@ pkgs.stdenv.mkDerivation rec {
]; ];
buildPhase = '' buildPhase = ''
gradle assembleFossRelease --info -I ${gradle-init-script} \ gradle assembleFossRelease --info -I ${gradle-init-script} \
--offline --full-stacktrace -Dorg.gradle.project.android.aapt2FromMavenOverride=$ANDROID_HOME/build-tools/35.0.0/aapt2 --offline --no-daemon --full-stacktrace \
-Dorg.gradle.project.android.aapt2FromMavenOverride=$ANDROID_HOME/build-tools/35.0.0/aapt2
''; '';
installPhase = '' installPhase = ''
cp app/build/outputs/apk/foss/release/notes-11-foss-release-unsigned.apk $out cp app/build/outputs/apk/foss/release/notes-11-foss-release-unsigned.apk $out

View file

@ -60,7 +60,7 @@ pkgs.stdenv.mkDerivation rec {
buildPhase = '' buildPhase = ''
gradle assembleRelease --info -I ${gradle-init-script} \ gradle assembleRelease --info -I ${gradle-init-script} \
--offline --full-stacktrace -x lint -x lintDebug -x lintRelease \ --offline --full-stacktrace -x lint -x lintDebug -x lintRelease --no-daemon \
-Dorg.gradle.project.android.aapt2FromMavenOverride=$ANDROID_HOME/build-tools/35.0.1/aapt2 \ -Dorg.gradle.project.android.aapt2FromMavenOverride=$ANDROID_HOME/build-tools/35.0.1/aapt2 \
-Dfile.encoding=utf-8 -Ptelemetry.enabled=false -Dfile.encoding=utf-8 -Ptelemetry.enabled=false
''; '';

View file

@ -38,7 +38,8 @@ pkgs.stdenv.mkDerivation rec {
]; ];
buildPhase = '' buildPhase = ''
gradle build --info -I ${gradle-init-script} \ gradle build --info -I ${gradle-init-script} \
--offline --full-stacktrace -Dorg.gradle.project.android.aapt2FromMavenOverride=$ANDROID_HOME/build-tools/34.0.0/aapt2 --offline --no-daemon --full-stacktrace \
-Dorg.gradle.project.android.aapt2FromMavenOverride=$ANDROID_HOME/build-tools/34.0.0/aapt2
''; '';
installPhase = '' installPhase = ''
cp app/build/outputs/apk/release/app-release.apk $out cp app/build/outputs/apk/release/app-release.apk $out