Skip to content

Commit 20a4224

Browse files
committed
Use invariant locale when capitalizing Gradle task names
1 parent 6b87bb2 commit 20a4224

File tree

1 file changed

+1
-1
lines changed
  • build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid

1 file changed

+1
-1
lines changed

build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Badging.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ abstract class CheckBadgingTask : DefaultTask() {
108108
}
109109

110110
private fun String.capitalized() = replaceFirstChar {
111-
if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString()
111+
if (it.isLowerCase()) it.titlecase() else it.toString()
112112
}
113113

114114
fun Project.configureBadgingTasks(

0 commit comments

Comments
 (0)