diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-12-16 21:34:40 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-12-16 21:34:40 +0530 |
commit | ab87e9c4ac5a97fee24f74ebfd4e727e63001da9 (patch) | |
tree | d4f5eb70e2891c458455218dfdad0f2cda334d76 /build-logic | |
parent | a4869eff75a24f00a54fbef8da154e6d79f52169 (diff) |
fix(build): temporarily downgrade AGP to stable track
Fixes #2820
Diffstat (limited to 'build-logic')
-rw-r--r-- | build-logic/build.gradle.kts | 2 | ||||
-rw-r--r-- | build-logic/src/main/kotlin/app/passwordstore/gradle/flavors/SlimTests.kt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts index a3914ac8..4dc0e4b3 100644 --- a/build-logic/build.gradle.kts +++ b/build-logic/build.gradle.kts @@ -5,7 +5,7 @@ plugins { `kotlin-dsl` } -kotlin.jvmToolchain(20) +kotlin.jvmToolchain(17) gradlePlugin { plugins { diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/flavors/SlimTests.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/flavors/SlimTests.kt index ece42f92..5588f621 100644 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/flavors/SlimTests.kt +++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/flavors/SlimTests.kt @@ -25,7 +25,7 @@ internal fun Project.configureSlimTests() { extensions.findByType<LibraryAndroidComponentsExtension>()?.run { beforeVariants(selector().withBuildType(BUILD_TYPE_RELEASE)) { (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)) { (it as HasUnitTestBuilder).enableUnitTest = false - it.androidTest.enable = false + it.enableAndroidTest = true } } } |