diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-11-26 21:39:40 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-11-26 21:39:40 +0530 |
commit | 912b609ac80f4d0fc40ca8f3a3ac250d57f9abf8 (patch) | |
tree | b1cdfcb8e55436ead9c99e958dc71c1bbeefc342 /build-logic/src/main/kotlin/app | |
parent | 8fa7b0b60f9718209f8827767fa71b277faf8cec (diff) |
fix(build): address `enableAndroidTest` deprecation
Diffstat (limited to 'build-logic/src/main/kotlin/app')
-rw-r--r-- | build-logic/src/main/kotlin/app/passwordstore/gradle/flavors/SlimTests.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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 5fd681f3..ece42f92 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.enableAndroidTest = false + it.androidTest.enable = false } } @@ -37,7 +37,7 @@ internal fun Project.configureSlimTests() { } beforeVariants(selector().withFlavor(FlavorDimensions.FREE to ProductFlavors.NON_FREE)) { (it as HasUnitTestBuilder).enableUnitTest = false - it.enableAndroidTest = false + it.androidTest.enable = false } } } |