[#22] Remove subproject configuration for testOptions

This commit is contained in:
Carter Jernigan 2022-06-02 13:06:29 -04:00 committed by Carter Jernigan
parent 1ce826e453
commit 8b5a67b23c
2 changed files with 0 additions and 20 deletions

View File

@ -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

View File

@ -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"
}
}
}