mirror of
https://github.com/nix-packages/nixapks.git
synced 2025-11-08 11:36:12 +01:00
disable gradle deamon
This commit is contained in:
parent
54822309d4
commit
7abb221bfe
4 changed files with 6 additions and 4 deletions
|
|
@ -62,7 +62,7 @@ pkgs.stdenv.mkDerivation rec {
|
|||
|
||||
buildPhase = ''
|
||||
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 \
|
||||
-Dfile.encoding=utf-8
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -47,7 +47,8 @@ pkgs.stdenv.mkDerivation rec {
|
|||
];
|
||||
buildPhase = ''
|
||||
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 = ''
|
||||
cp app/build/outputs/apk/foss/release/notes-11-foss-release-unsigned.apk $out
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ pkgs.stdenv.mkDerivation rec {
|
|||
|
||||
buildPhase = ''
|
||||
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 \
|
||||
-Dfile.encoding=utf-8 -Ptelemetry.enabled=false
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -38,7 +38,8 @@ pkgs.stdenv.mkDerivation rec {
|
|||
];
|
||||
buildPhase = ''
|
||||
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 = ''
|
||||
cp app/build/outputs/apk/release/app-release.apk $out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue