fix(build): temporarily downgrade AGP to stable track

Fixes #2820
This commit is contained in:
Harsh Shandilya 2023-12-16 21:34:40 +05:30
parent a4869eff75
commit ab87e9c4ac
No known key found for this signature in database
3 changed files with 6 additions and 4 deletions

View file

@ -5,7 +5,7 @@
plugins { `kotlin-dsl` } plugins { `kotlin-dsl` }
kotlin.jvmToolchain(20) kotlin.jvmToolchain(17)
gradlePlugin { gradlePlugin {
plugins { plugins {

View file

@ -25,7 +25,7 @@ internal fun Project.configureSlimTests() {
extensions.findByType<LibraryAndroidComponentsExtension>()?.run { extensions.findByType<LibraryAndroidComponentsExtension>()?.run {
beforeVariants(selector().withBuildType(BUILD_TYPE_RELEASE)) { beforeVariants(selector().withBuildType(BUILD_TYPE_RELEASE)) {
(it as HasUnitTestBuilder).enableUnitTest = false (it as HasUnitTestBuilder).enableUnitTest = false
it.androidTest.enable = false it.enableAndroidTest = true
} }
} }
@ -37,7 +37,7 @@ internal fun Project.configureSlimTests() {
} }
beforeVariants(selector().withFlavor(FlavorDimensions.FREE to ProductFlavors.NON_FREE)) { beforeVariants(selector().withFlavor(FlavorDimensions.FREE to ProductFlavors.NON_FREE)) {
(it as HasUnitTestBuilder).enableUnitTest = false (it as HasUnitTestBuilder).enableUnitTest = false
it.androidTest.enable = false it.enableAndroidTest = true
} }
} }
} }

View file

@ -1,5 +1,7 @@
[versions] [versions]
agp = "8.3.0-alpha16" # Not using alpha track due to installRelease regression
# https://issuetracker.google.com/issues/315337463
agp = "8.2.0"
androidxActivity = "1.8.2" androidxActivity = "1.8.2"
bouncycastle = "1.77" bouncycastle = "1.77"
moshi = "1.15.0" moshi = "1.15.0"