From f8d72b943f0fbf4cadaca670da928835fca77cde Mon Sep 17 00:00:00 2001 From: Gugle Date: Mon, 8 Sep 2025 07:26:34 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=20JEI=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 JEI 的 runtimeOnly 依赖改为 implementation 依赖 - 这一变更可以确保 JEI 相关的类和方法在编译时可用,提高开发体验 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 5f024fb..3996d3e 100644 --- a/build.gradle +++ b/build.gradle @@ -151,7 +151,7 @@ dependencies { // JEI compileOnly "mezz.jei:jei-1.21.8-neoforge-api:24.0.0.2" - runtimeOnly "mezz.jei:jei-1.21.8-neoforge:24.0.0.2" + implementation "mezz.jei:jei-1.21.8-neoforge:24.0.0.2" } // This block of code expands all declared replace properties in the specified resource targets.