Skip to content

Commit

Permalink
fix(build): address enableAndroidTest deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
msfjarvis committed Nov 17, 2023
1 parent aff5af4 commit fb87882
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand All @@ -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
}
}
}
Expand Down

0 comments on commit fb87882

Please sign in to comment.