mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 14:07:05 +05:30
fix(build): address enableAndroidTest
deprecation
This commit is contained in:
parent
aff5af4771
commit
fb878824e8
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ class AndroidCommonPlugin : Plugin<Project> {
|
|||
beforeVariants(selector().all()) {
|
||||
if (it.name == "debug") return@beforeVariants
|
||||
(it as HasUnitTestBuilder).enableUnitTest = false
|
||||
it.enableAndroidTest = false
|
||||
it.androidTest.enable = false
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@ class AndroidCommonPlugin : Plugin<Project> {
|
|||
beforeVariants(selector().all()) {
|
||||
if (it.name == "debug") return@beforeVariants
|
||||
(it as HasUnitTestBuilder).enableUnitTest = false
|
||||
it.enableAndroidTest = false
|
||||
it.androidTest.enable = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue