diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0a2e5f7..542f84e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,5 +19,10 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew + - name: Prepare Env + run: | + echo "android.useAndroidX=true" >> gradle.properties + echo "android.enableJetifier=true" >> gradle.properties + - name: Build with Gradle run: ./gradlew build diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 4cc6a24..f3a1a01 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -28,6 +28,10 @@ jobs: BANJEN_ADS_UNIT_ID_BANNER: ${{ secrets.BANJEN_ADS_UNIT_ID_BANNER }} BANJEN_ADMOB_APP_ID: ${{ secrets.BANJEN_ADMOB_APP_ID }} run: | + run: | + echo "android.useAndroidX=true" >> gradle.properties + echo "android.enableJetifier=true" >> gradle.properties + base64 -d <<< $KEY > app/key.keystore echo $BANJEN_SIGN_PWD >> gradle.properties echo $BANJEN_SIGN_ALIAS >> gradle.properties