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
This commit is contained in:
Jordan 2023-06-18 18:31:49 +02:00 committed by GitHub
parent f0aef98870
commit 39de48cdb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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