Skip to content

Commit bac14dd

Browse files
committed
Fix deprecation warning in KoverExtension
> Task :plugins:compileKotlin w: file:///.../plugins/src/main/kotlin/extension/KoverExtension.kt:70:109 'capitalized(): String' is deprecated. This was never intended as a public API. Signed-off-by: Joe Groocock <[email protected]>
1 parent 8818964 commit bac14dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/src/main/kotlin/extension/KoverExtension.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ fun Project.setupKover() {
5858
task("koverVerifyAll") {
5959
group = "verification"
6060
description = "Verifies the code coverage of all subprojects."
61-
val dependencies = listOf(":app:koverVerifyGplayDebug") + koverVariants.map { ":app:koverVerify${it.capitalized()}" }
61+
val dependencies = listOf(":app:koverVerifyGplayDebug") + koverVariants.map { ":app:koverVerify${it.replaceFirstChar(Char::titlecase)}" }
6262
dependsOn(dependencies)
6363

6464
}

0 commit comments

Comments
 (0)