Set the default encoding for the project
This commit is contained in:
parent
fed44dfd6f
commit
8a2b64faef
1 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,8 @@ plugins {
|
||||||
group = "dev.zontreck"
|
group = "dev.zontreck"
|
||||||
archivesBaseName = "LibAC"
|
archivesBaseName = "LibAC"
|
||||||
|
|
||||||
|
compileJava.options.encoding = "UTF-8"
|
||||||
|
|
||||||
java {
|
java {
|
||||||
toolchain.languageVersion = JavaLanguageVersion.of(8)
|
toolchain.languageVersion = JavaLanguageVersion.of(8)
|
||||||
withSourcesJar()
|
withSourcesJar()
|
||||||
|
@ -89,4 +91,4 @@ publishing {
|
||||||
|
|
||||||
test {
|
test {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue