Use invariant locale when capitalizing Gradle task names

pull/1644/head
cketti 3 months ago
parent 6b87bb210d
commit 20a42241e7

@ -108,7 +108,7 @@ abstract class CheckBadgingTask : DefaultTask() {
} }
private fun String.capitalized() = replaceFirstChar { private fun String.capitalized() = replaceFirstChar {
if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() if (it.isLowerCase()) it.titlecase() else it.toString()
} }
fun Project.configureBadgingTasks( fun Project.configureBadgingTasks(

Loading…
Cancel
Save