Build release artifacts separately, using google-services

Change-Id: I17e3fb3bfa598ae729623be685af65dffd366e95
pull/591/head^2
Ben Weiss 2 years ago
parent 6dd82ea03e
commit 8d0f28170d
No known key found for this signature in database
GPG Key ID: 8424F9C1E763A74C

@ -33,10 +33,13 @@ cp $DIR/../nowinandroid-prebuilts/google-services.json $DIR/app
cd $DIR
# Build
GRADLE_PARAMS=" --stacktrace -Puse-google-services"
GRADLE_PARAMS=" --stacktrace"
$DIR/gradlew :app:clean :app:assemble ${GRADLE_PARAMS}
BUILD_RESULT=$?
GRADLE_RELEASE_PARAMS="$GRADLE_PARAMS -Puse-google-services"
$DIR/gradlew :app:assembleDemoRelease :app:assembleProdRelease ${GRADLE_RELEASE_PARAMS}
# Demo debug
cp $APP_OUT/apk/demo/debug/app-demo-debug.apk $DIST_DIR

Loading…
Cancel
Save