指定使用 UTF-8 编码编译 buildSrc 子项目 (#4677)
This commit is contained in:
@@ -17,6 +17,10 @@ java {
|
|||||||
targetCompatibility = JavaVersion.VERSION_17
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType<JavaCompile> {
|
||||||
|
options.encoding = "UTF-8"
|
||||||
|
}
|
||||||
|
|
||||||
tasks.processResources {
|
tasks.processResources {
|
||||||
into("org/jackhuang/hmcl/gradle/l10n") {
|
into("org/jackhuang/hmcl/gradle/l10n") {
|
||||||
from(projectDir.resolve("../HMCLCore/src/main/resources/assets/lang/"))
|
from(projectDir.resolve("../HMCLCore/src/main/resources/assets/lang/"))
|
||||||
|
|||||||
Reference in New Issue
Block a user