Skip to content

Commit

Permalink
Merge pull request #1644 from cketti/fix_capitalized
Browse files Browse the repository at this point in the history
Use invariant locale when capitalizing Gradle task names
  • Loading branch information
dturner authored Sep 29, 2024
2 parents 6b87bb2 + 20a4224 commit cf0ee7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ abstract class CheckBadgingTask : DefaultTask() {
}

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(
Expand Down

0 comments on commit cf0ee7c

Please sign in to comment.