summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-01-13 14:54:28 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-01-13 15:00:30 +0530
commit4f020a8d2266983b14952eadb10dbcfa71bde383 (patch)
treefa8d6643e0b6b2e8f7fad645560a32b216b7c512
parent187cf9dafa337e09b1750aac7dfed445f7d6620d (diff)
chore(deps): revert back to AGP stable
This reverts commit aca444da4e66e749c19bec112021add7de23178e.
-rw-r--r--.github/workflows/shadow_job.yml4
-rw-r--r--gradle.properties3
-rw-r--r--gradle/libs.versions.toml2
3 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/shadow_job.yml b/.github/workflows/shadow_job.yml
index f6f1afe3..810ebc06 100644
--- a/.github/workflows/shadow_job.yml
+++ b/.github/workflows/shadow_job.yml
@@ -41,6 +41,10 @@ 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 ff8d88df..0589b47e 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -49,6 +49,9 @@ 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 9aa41e89..883a3647 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,5 +1,5 @@
[versions]
-agp = "8.0.0-alpha11"
+agp = "7.4.0"
androidxActivity = "1.7.0-alpha03"
bouncycastle = "1.72"
# @keep used for kotlinCompilerExtensionVersion