[#22] Remove subproject configuration for testOptions
This commit is contained in:
parent
1ce826e453
commit
8b5a67b23c
|
@ -82,7 +82,6 @@ fun com.android.build.gradle.BaseExtension.configureBaseExtension() {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO [#22]: This doesn't work, so there's a duplicate in build.gradle.kts
|
||||
testOptions {
|
||||
animationsDisabled = true
|
||||
|
||||
|
|
|
@ -129,29 +129,10 @@ kover {
|
|||
subprojects {
|
||||
pluginManager.withPlugin("com.android.library") {
|
||||
project.the<com.android.build.gradle.LibraryExtension>().apply {
|
||||
configureBaseExtension()
|
||||
|
||||
// TODO [#5]: Figure out how to move this into the build-conventions
|
||||
testCoverage {
|
||||
jacocoVersion = libs.versions.jacoco.get()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pluginManager.withPlugin("com.android.application") {
|
||||
project.the<com.android.build.gradle.AppExtension>().apply {
|
||||
configureBaseExtension()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun com.android.build.gradle.BaseExtension.configureBaseExtension() {
|
||||
// TODO [#22]: Figure out how to move this into build-conventions
|
||||
testOptions {
|
||||
animationsDisabled = true
|
||||
|
||||
if (project.property("IS_USE_TEST_ORCHESTRATOR").toString().toBoolean()) {
|
||||
execution = "ANDROIDX_TEST_ORCHESTRATOR"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue