summaryrefslogtreecommitdiff
path: root/build-logic
diff options
context:
space:
mode:
Diffstat (limited to 'build-logic')
-rw-r--r--build-logic/build.gradle.kts2
-rw-r--r--build-logic/src/main/kotlin/app/passwordstore/gradle/flavors/SlimTests.kt4
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
}
}
}