File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ BUILDNAMES='A B C D E'
3131for BUILD in $BUILDNAMES ; do
3232 LCBUILD=` tr ' [:upper:]' ' [:lower:]' <<< $BUILD `
3333 ./gradlew --stop
34- if ! ./gradlew assembleFullRelease -PcustomSuffix=" $LCBUILD " -PcustomName=" AnkiDroid.$BUILD " -Duniversal-apk=true -PbuildTime=" $BUILD_TIME_MS "
34+ if ! ./gradlew assembleFullRelease -PcustomSuffix=" $LCBUILD " -PcustomName=" AnkiDroid.$BUILD " -Duniversal-apk=true -PbuildTime=" $BUILD_TIME_MS " --no-configuration-cache
3535 then
3636 echo " Unable to build parallel target $BUILD "
3737 exit 1
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ git tag v"$VERSION"
112112# Configuration for pushing to Play specified in build.gradle.kts 'play' task
113113echo " Running 'publishPlayReleaseApk' gradle target"
114114./gradlew --stop
115- if ! ./gradlew publishPlayReleaseApk -PbuildTime=" $BUILD_TIME_MS "
115+ if ! ./gradlew publishPlayReleaseApk -PbuildTime=" $BUILD_TIME_MS " --no-configuration-cache
116116then
117117 # APK contains problems, abort release
118118 exit 1
@@ -127,7 +127,7 @@ UCFLAVORS='Full Amazon Play'
127127for UCFLAVOR in $UCFLAVORS ; do
128128 ./gradlew --stop
129129 echo Running assemble" $UCFLAVOR " Release target with universal APK flag
130- if ! ./gradlew assemble" $UCFLAVOR " Release -Duniversal-apk=true -PbuildTime=" $BUILD_TIME_MS "
130+ if ! ./gradlew assemble" $UCFLAVOR " Release -Duniversal-apk=true -PbuildTime=" $BUILD_TIME_MS " --no-configuration-cache
131131 then
132132 echo " unable to build release APKs for flavor $UCFLAVOR "
133133 exit 1
@@ -167,7 +167,7 @@ cp proguard-mappings.tar.gz "$PREFIX"proguard-mappings.tar.gz
167167# Create a full universal build that disables minify, to help diagnose proguard issues
168168./gradlew --stop
169169echo Running assembleFullRelease target with universal APK flag and MINIFY_ENABLED=false
170- if ! MINIFY_ENABLED=false ./gradlew assembleFullRelease -Duniversal-apk=true -PbuildTime=" $BUILD_TIME_MS "
170+ if ! MINIFY_ENABLED=false ./gradlew assembleFullRelease -Duniversal-apk=true -PbuildTime=" $BUILD_TIME_MS " --no-configuration-cache
171171then
172172 echo " unable to build full unminified APKs"
173173 exit 1
You can’t perform that action at this time.
0 commit comments