[#5] Remove subproject configuration for coverage
This commit is contained in:
parent
8b5a67b23c
commit
59e8d235f6
|
@ -1,9 +1,6 @@
|
||||||
import com.android.build.api.dsl.CommonExtension
|
import com.android.build.api.dsl.CommonExtension
|
||||||
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions
|
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions
|
||||||
|
|
||||||
// Note: due to a few limitations with build-conventions, there is some common Android Gradle Plugin
|
|
||||||
// configuration happening in the root build.gradle.kts with a subprojects block.
|
|
||||||
|
|
||||||
pluginManager.withPlugin("com.android.application") {
|
pluginManager.withPlugin("com.android.application") {
|
||||||
project.the<com.android.build.gradle.AppExtension>().apply {
|
project.the<com.android.build.gradle.AppExtension>().apply {
|
||||||
configureBaseExtension()
|
configureBaseExtension()
|
||||||
|
|
|
@ -124,15 +124,3 @@ kover {
|
||||||
"ui-lib",
|
"ui-lib",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// All of this should be refactored to build-conventions
|
|
||||||
subprojects {
|
|
||||||
pluginManager.withPlugin("com.android.library") {
|
|
||||||
project.the<com.android.build.gradle.LibraryExtension>().apply {
|
|
||||||
// TODO [#5]: Figure out how to move this into the build-conventions
|
|
||||||
testCoverage {
|
|
||||||
jacocoVersion = libs.versions.jacoco.get()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue