use packageRelease instead of build for app

This commit is contained in:
Morten Delenk 2022-08-14 14:12:17 +01:00
parent 05aba579de
commit 562635b1cb
No known key found for this signature in database
GPG key ID: 5130416C797067B6

View file

@ -98,7 +98,7 @@
sed -i 's#google..#maven { url "${invtracker-deps}/maven" }#' settings.gradle sed -i 's#google..#maven { url "${invtracker-deps}/maven" }#' settings.gradle
export GRADLE_USER_HOME=$(mktemp -d) export GRADLE_USER_HOME=$(mktemp -d)
gradle --offline --no-daemon --info -Dorg.gradle.project.android.aapt2FromMavenOverride=${androidSdk}/share/android-sdk/build-tools/33.0.0/aapt2 -Dorg.gradle.java.home=${pkgs.openjdk_headless} app:build gradle --offline --no-daemon --info -Dorg.gradle.project.android.aapt2FromMavenOverride=${androidSdk}/share/android-sdk/build-tools/33.0.0/aapt2 -Dorg.gradle.java.home=${pkgs.openjdk_headless} app:packageRelease
''; '';
installPhase = '' installPhase = ''
mkdir $out mkdir $out