From ab87e9c4ac5a97fee24f74ebfd4e727e63001da9 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 16 Dec 2023 21:34:40 +0530 Subject: fix(build): temporarily downgrade AGP to stable track Fixes #2820 --- build-logic/build.gradle.kts | 2 +- .../src/main/kotlin/app/passwordstore/gradle/flavors/SlimTests.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'build-logic') 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()?.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 } } } -- cgit v1.2.3