From 20a42241e7009b7a2b1e6577c40f11a9d4a3a86f Mon Sep 17 00:00:00 2001 From: cketti Date: Sat, 28 Sep 2024 13:41:17 +0200 Subject: [PATCH] Use invariant locale when capitalizing Gradle task names --- .../main/kotlin/com/google/samples/apps/nowinandroid/Badging.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Badging.kt b/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Badging.kt index 59eac2322..9eabff31b 100644 --- a/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Badging.kt +++ b/build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/Badging.kt @@ -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(