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 --- .../src/main/kotlin/app/passwordstore/gradle/flavors/SlimTests.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build-logic/src/main/kotlin/app') 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