Merge pull request #1644 from cketti/fix_capitalized

Use invariant locale when capitalizing Gradle task names
pull/1649/head
Don Turner 3 months ago committed by GitHub
commit cf0ee7c0a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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