use debug build
This commit is contained in:
parent
562635b1cb
commit
a8e565ec07
2 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ public class ClientImpl extends Client {
|
|||
/**
|
||||
* The API URL.
|
||||
*/
|
||||
private static final String API_URL = BuildConfig.DEBUG ? DEV_API_URL : PROD_API_URL;
|
||||
private static final String API_URL = PROD_API_URL;
|
||||
/**
|
||||
* An empty body.
|
||||
*/
|
||||
|
|
|
@ -98,11 +98,11 @@
|
|||
sed -i 's#google..#maven { url "${invtracker-deps}/maven" }#' settings.gradle
|
||||
|
||||
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:packageRelease
|
||||
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:packageDebug
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp app/build/outputs/apk/release/app-release-unsigned.apk $out/app.apk
|
||||
cp app/build/outputs/apk/debug/debug.apk $out/app.apk
|
||||
mkdir $out/nix-support
|
||||
echo "file binary-dist $out/app.apk" > $out/nix-support/hydra-build-products
|
||||
echo "$pname-$version" > $out/nix-support/hydra-release-name
|
||||
|
|
Loading…
Reference in a new issue