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