File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1212# - Android SDK/NDK as required by the project, Gradle wrapper
1313#
1414# Usage:
15- # ./scripts/build-android-apk.sh [API_LEVEL]
15+ # E2E_BACKEND=network ./scripts/build-android-apk.sh [API_LEVEL]
1616# Example:
1717# ./scripts/build-android-apk.sh 14
1818set -euo pipefail
1919
2020E2E_ROOT=" $( cd " $( dirname " $0 " ) /.." && pwd) "
2121ANDROID_ROOT=" $( cd " $E2E_ROOT /../bitkit-android" && pwd) "
2222
23+ E2E_BACKEND=" ${E2E_BACKEND:- local} "
24+
2325pushd " $ANDROID_ROOT " > /dev/null
24- E2E=true ./gradlew assembleDevDebug --no-daemon --stacktrace
26+ E2E=true E2E_BACKEND= " $E2E_BACKEND " ./gradlew assembleDevDebug --no-daemon --stacktrace
2527popd > /dev/null
2628
2729# Determine APK path: prefer provided API level, else auto-detect, else fallback to 14
@@ -52,4 +54,3 @@ mkdir -p "$OUT"
5254cp -f " $APK_PATH " " $OUT /bitkit_e2e.apk"
5355echo " Android APK copied to: $OUT /bitkit_e2e.apk (from $( basename " $APK_PATH " ) )"
5456
55-
You can’t perform that action at this time.
0 commit comments