diff --git a/build.gradle b/build.gradle index 9d7d2289d4..10f37cc525 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,7 @@ allprojects { sourceCompatibility = languageLevelSetting targetCompatibility = languageLevelSetting - tasks.withType(JavaCompile) { + tasks.withType(JavaCompile).configureEach { options.encoding = "UTF-8" options.compilerArgs << "-parameters" }