Explicitly set utf-8 encoding for JavaCompile tasks
This commit is contained in:
committed by
Ilya Gorbunov
parent
e8e09dbbf8
commit
5541634187
@@ -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<KotlinCompile> {
|
||||
|
||||
Reference in New Issue
Block a user