From a5b3b0ee940cceb3127112ff1f6a704d590dcd25 Mon Sep 17 00:00:00 2001 From: Kenny <27463495+Frontesque@users.noreply.github.com> Date: Fri, 25 Feb 2022 08:18:42 -0500 Subject: [PATCH] Update publish-android.sh --- scripts/publish-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish-android.sh b/scripts/publish-android.sh index 631104f..decc720 100644 --- a/scripts/publish-android.sh +++ b/scripts/publish-android.sh @@ -23,7 +23,7 @@ else printf %"s\n" "Latest native Capacitor Android library is version $CAPACITOR_PUBLISHED_VERSION, publishing to MavenCentral staging..." # Build and publish - $DIR/gradlew assembleDebug --max-workers 1 -b $DIR/build.gradle -Pandroid.useAndroidX=true -Pandroid.enableJetifier=true > $LOG_OUTPUT 2>&1 + $DIR/gradlew clean build --max-workers 1 -b $DIR/build.gradle -Pandroid.useAndroidX=true -Pandroid.enableJetifier=true > $LOG_OUTPUT 2>&1 echo $RESULT