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 <me@frebib.net>
This commit is contained in:
parent
433cb7da32
commit
d5e7964864
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ fun Project.setupKover() {
|
||||||
task("koverVerifyAll") {
|
task("koverVerifyAll") {
|
||||||
group = "verification"
|
group = "verification"
|
||||||
description = "Verifies the code coverage of all subprojects."
|
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)
|
dependsOn(dependencies)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue