Use UTF-8 charset for Java compilation (#8486)
This commit is contained in:
parent
03379dea27
commit
c1b7b55c9e
1 changed files with 4 additions and 0 deletions
|
@ -199,3 +199,7 @@ publishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile).configureEach {
|
||||||
|
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue