mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-09-11 01:38:55 +03:00
avoid compile error caused by encoding
This commit is contained in:
@@ -36,6 +36,8 @@ plugins {
|
||||
id 'signing'
|
||||
}
|
||||
|
||||
compileJava.options.encoding = "UTF-8"
|
||||
compileTestJava.options.encoding = "UTF-8"
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
@@ -214,6 +216,7 @@ signing {
|
||||
}
|
||||
|
||||
javadoc {
|
||||
options.encoding = 'UTF-8'
|
||||
if(JavaVersion.current().isJava9Compatible()) {
|
||||
options.addBooleanOption('html5', true)
|
||||
}
|
||||
|
Reference in New Issue
Block a user