同步build.gradle至origin/winboll分支最新配置

This commit is contained in:
2026-05-11 21:13:50 +08:00
parent ff8cb2fb42
commit 6baca2779d

View File

@@ -93,11 +93,12 @@ allprojects {
}
subprojects {
// 1. 对纯 Java 模块的 JavaCompile 任务配置(强制Java 7
// 1. 对纯 Java 模块的 JavaCompile 任务配置(升级为 Java 11
tasks.withType(JavaCompile) {
options.compilerArgs << "-parameters"
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
// 可选:确保编码一致
options.encoding = "UTF-8"
}
}