chore: upgrade to AGP 8.0.0-alpha10

This brings proper compatibility with Gradle 8.0 RC1
This commit is contained in:
Harsh Shandilya 2023-01-03 20:27:28 +05:30
parent a72a8ae892
commit aca444da4e
No known key found for this signature in database
3 changed files with 1 additions and 8 deletions

View file

@ -41,10 +41,6 @@ jobs:
- name: Copy CI gradle.properties - name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/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 - name: Run checks
uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef # v2.3.3 uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef # v2.3.3
env: env:

View file

@ -49,9 +49,6 @@ android.enableResourceOptimizations=true
# Compatibility with Gradle 8.0 # Compatibility with Gradle 8.0
android.experimental.legacyTransform.forceNonIncremental=true android.experimental.legacyTransform.forceNonIncremental=true
# Opt into new publishing APIs
android.disableAutomaticComponentCreation=true
# Default Android build features # Default Android build features
android.defaults.buildfeatures.buildconfig=false android.defaults.buildfeatures.buildconfig=false
android.defaults.buildfeatures.aidl=false android.defaults.buildfeatures.aidl=false

View file

@ -1,5 +1,5 @@
[versions] [versions]
agp = "7.3.1" agp = "8.0.0-alpha10"
androidxActivity = "1.7.0-alpha02" androidxActivity = "1.7.0-alpha02"
bouncycastle = "1.72" bouncycastle = "1.72"
# @keep used for kotlinCompilerExtensionVersion # @keep used for kotlinCompilerExtensionVersion