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
Dieser Commit ist enthalten in:
Jordan 2023-06-18 18:31:49 +02:00 committet von GitHub
Ursprung f0aef98870
Commit 39de48cdb1
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

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