From aca444da4e66e749c19bec112021add7de23178e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 3 Jan 2023 20:27:28 +0530 Subject: chore: upgrade to AGP 8.0.0-alpha10 This brings proper compatibility with Gradle 8.0 RC1 --- .github/workflows/shadow_job.yml | 4 ---- gradle.properties | 3 --- gradle/libs.versions.toml | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/shadow_job.yml b/.github/workflows/shadow_job.yml index de1249e6..44951be1 100644 --- a/.github/workflows/shadow_job.yml +++ b/.github/workflows/shadow_job.yml @@ -41,10 +41,6 @@ jobs: - name: Copy CI gradle.properties run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - - name: Workaround AGP 8.x deprecations - if: startsWith(matrix.agp-version, '8.0.0') - run: sed -i 's/android.disableAutomaticComponentCreation=true//' gradle.properties - - name: Run checks uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef # v2.3.3 env: diff --git a/gradle.properties b/gradle.properties index 0589b47e..ff8d88df 100644 --- a/gradle.properties +++ b/gradle.properties @@ -49,9 +49,6 @@ android.enableResourceOptimizations=true # Compatibility with Gradle 8.0 android.experimental.legacyTransform.forceNonIncremental=true -# Opt into new publishing APIs -android.disableAutomaticComponentCreation=true - # Default Android build features android.defaults.buildfeatures.buildconfig=false android.defaults.buildfeatures.aidl=false diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e579d181..52e721a0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "7.3.1" +agp = "8.0.0-alpha10" androidxActivity = "1.7.0-alpha02" bouncycastle = "1.72" # @keep used for kotlinCompilerExtensionVersion -- cgit v1.2.3