Set UTF-8 encoding for java files
This commit is contained in:
parent
1c5b4612a5
commit
4be3c2360e
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ java {
|
||||||
withJavadocJar()
|
withJavadocJar()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile).configureEach {
|
||||||
|
options.encoding = "UTF-8"
|
||||||
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
embed
|
embed
|
||||||
implementation.extendsFrom(embed)
|
implementation.extendsFrom(embed)
|
||||||
|
|
Loading…
Reference in a new issue