From 39de48cdb117d1734d1374bac5fe54b0d71deebe Mon Sep 17 00:00:00 2001 From: Jordan Date: Sun, 18 Jun 2023 18:31:49 +0200 Subject: [PATCH] chore: Address kotlin String#capitalize() deprecation (#2308) * chore: Address kotlin String#capitalize() deprecation - Fixes #2283 - Don't bother with the longer version that allows Locales, we don't need that * Address comments --- buildSrc/src/main/kotlin/LibsConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/LibsConfig.kt b/buildSrc/src/main/kotlin/LibsConfig.kt index d2c1a8e1d..4fd69cb65 100644 --- a/buildSrc/src/main/kotlin/LibsConfig.kt +++ b/buildSrc/src/main/kotlin/LibsConfig.kt @@ -204,7 +204,7 @@ fun Project.applyLibrariesConfiguration() { from(libsComponent) group = "com.fastasyncworldedit" - artifactId = "FastAsyncWorldEdit-Libs-${project.name.capitalize()}" + artifactId = "FastAsyncWorldEdit-Libs-${project.name.replaceFirstChar(Char::titlecase)}" version = version pom {