Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Enable use-google-services in release builds

Ben Weiss6dd82ea03ea3
diff --git a/build_android_release.sh b/build_android_release.sh
index 4a7c7688f..eccdc45ef 100755
--- a/build_android_release.sh
+++ b/build_android_release.sh
@@ -33,7 +33,7 @@ cp $DIR/../nowinandroid-prebuilts/google-services.json $DIR/app
cd $DIR
# Build
-GRADLE_PARAMS=" --stacktrace"
+GRADLE_PARAMS=" --stacktrace -Puse-google-services"
$DIR/gradlew :app:clean :app:assemble ${GRADLE_PARAMS}
BUILD_RESULT=$?
@@ -68,4 +68,4 @@ cp $APP_OUT/bundle/prodRelease/app-prod-release.aab $DIST_DIR/app-prod-release.a
#cp $APP_OUT/mapping/prodRelease/mapping.txt $DIST_DIR/mobile-release-aab-mapping.txt
BUILD_RESULT=$?
-exit $BUILD_RESULT
\ No newline at end of file
+exit $BUILD_RESULT