mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 13:27:46 +00:00
fix(build): address enableAndroidTest
deprecation
This commit is contained in:
parent
8fa7b0b60f
commit
912b609ac8
@ -25,7 +25,7 @@ internal fun Project.configureSlimTests() {
|
|||||||
extensions.findByType<LibraryAndroidComponentsExtension>()?.run {
|
extensions.findByType<LibraryAndroidComponentsExtension>()?.run {
|
||||||
beforeVariants(selector().withBuildType(BUILD_TYPE_RELEASE)) {
|
beforeVariants(selector().withBuildType(BUILD_TYPE_RELEASE)) {
|
||||||
(it as HasUnitTestBuilder).enableUnitTest = false
|
(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)) {
|
beforeVariants(selector().withFlavor(FlavorDimensions.FREE to ProductFlavors.NON_FREE)) {
|
||||||
(it as HasUnitTestBuilder).enableUnitTest = false
|
(it as HasUnitTestBuilder).enableUnitTest = false
|
||||||
it.enableAndroidTest = false
|
it.androidTest.enable = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user