mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-04-15 21:45:13 +02: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 {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue