diff --git a/build.gradle.kts b/build.gradle.kts index 0a9c12efdb..5436e7df27 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,10 +14,16 @@ subprojects { } } - tasks.withType().configureEach { - options.encoding = "UTF-8" + tasks.withType { + options.encoding = Charsets.UTF_8.name() options.release.set(16) } + tasks.withType { + options.encoding = Charsets.UTF_8.name() + } + tasks.withType { + filteringCharset = Charsets.UTF_8.name() + } configure { repositories {