Set UTF-8 encoding for java files

This commit is contained in:
Raven Szewczyk 2023-04-24 15:42:45 +01:00
parent 1c5b4612a5
commit 4be3c2360e

View file

@ -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)