UTF-8 for everything

This commit is contained in:
Telesphoreo 2022-05-08 21:24:19 -05:00
parent 3df9135e1c
commit e7cb600749
No known key found for this signature in database
GPG key ID: 5ACFFC4682CF849B

View file

@ -1,5 +1,3 @@
import java.nio.charset.StandardCharsets
plugins {
java
`maven-publish`
@ -47,10 +45,13 @@ tasks.getByName<Jar>("jar") {
}
tasks {
javadoc {
options.memberLevel = JavadocMemberLevel.PRIVATE
}
compileJava {
options.encoding = StandardCharsets.UTF_8.name()
options.encoding = Charsets.UTF_8.name()
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
}
}