diff --git a/gradle.properties b/gradle.properties index 1e150e2eeb2..e7875394831 100644 --- a/gradle.properties +++ b/gradle.properties @@ -46,6 +46,3 @@ android.experimental.enableTestFixtures=true # Create BuildConfig files as bytecode to avoid Java compilation phase android.enableBuildConfigAsBytecode=true - -# By default, the plugin applies itself to all subprojects, but we don't want that as it would cause issues with builds using local AARs -dependency.analysis.autoapply=false diff --git a/plugins/src/main/kotlin/extension/KoverExtension.kt b/plugins/src/main/kotlin/extension/KoverExtension.kt index cac5cec137e..ba84fe37c21 100644 --- a/plugins/src/main/kotlin/extension/KoverExtension.kt +++ b/plugins/src/main/kotlin/extension/KoverExtension.kt @@ -58,7 +58,7 @@ fun Project.setupKover() { task("koverVerifyAll") { group = "verification" description = "Verifies the code coverage of all subprojects." - val dependencies = listOf(":app:koverVerifyGplayDebug") + koverVariants.map { ":app:koverVerify${it.capitalized()}" } + val dependencies = listOf(":app:koverVerifyGplayDebug") + koverVariants.map { ":app:koverVerify${it.replaceFirstChar(Char::titlecase)}" } dependsOn(dependencies) }