nix: disable Gradle daemon for builds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-07-20 17:00:08 +02:00
parent 8bb99743a7
commit 517a1be27c
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ in stdenv.mkDerivation rec {
${adhocEnvVars} ${pkgs.gradle}/bin/gradle \ ${adhocEnvVars} ${pkgs.gradle}/bin/gradle \
${toString gradleOpts} \ ${toString gradleOpts} \
--offline --stacktrace \ --offline --stacktrace \
-Dorg.gradle.daemon=false \
-Dmaven.repo.local='${deps.gradle}' \ -Dmaven.repo.local='${deps.gradle}' \
-PversionCode=${toString buildNumber} \ -PversionCode=${toString buildNumber} \
assemble${gradleBuildType} \ assemble${gradleBuildType} \