From 6baca2779d082896a2ae8ae86a013cc33d3a28a5 Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Mon, 11 May 2026 21:13:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5build.gradle=E8=87=B3origin/w?= =?UTF-8?q?inboll=E5=88=86=E6=94=AF=E6=9C=80=E6=96=B0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index f9443e4..b592a79 100644 --- a/build.gradle +++ b/build.gradle @@ -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" } }