From 55416341871259c6aef9912fce51fba74f1202ac Mon Sep 17 00:00:00 2001 From: Ilya Zorin Date: Tue, 24 Oct 2017 19:03:16 +0300 Subject: [PATCH] Explicitly set utf-8 encoding for JavaCompile tasks --- build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle.kts b/build.gradle.kts index 6366080ca4f..aebc40a5915 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -464,6 +464,7 @@ fun Project.configureJvmProject(javaHome: String, javaVersion: String) { options.isFork = true options.forkOptions.javaHome = file(javaHome) options.compilerArgs.add("-proc:none") + options.encoding = "UTF-8" } tasks.withType {