From ad89ab0574fab1918c32f3ce7d81c4c60874bd2c Mon Sep 17 00:00:00 2001 From: Ap_Tx <3045929398@qq.com> Date: Sat, 3 Oct 2026 08:36:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20gradle.properties?= =?UTF-8?q?=20=E9=87=8C=E7=9A=84=20org.gradle.java.home?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 本机绝对路径不该进版本控制,CI 上路径不存在导致构建失败。本地构建请通过 JAVA_HOME 环境变量指定 Java 25。 --- gradle.properties | 2 -- 1 file changed, 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 4088c23..46e063a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,5 +15,3 @@ archives_base_name = carpet-sls-addition # Dependencies fabric_version=0.155.3+26.1.2 carpet_core_version=26.1+v260401 -# 指定构建用 JDK 25(本机 Minecraft 运行时自带) -org.gradle.java.home=C\:\\Users\\28579\\AppData\\Roaming\\.minecraft\\runtime\\java-runtime-epsilon \ No newline at end of file