From 567eb7237ccb6d231375c7a957557e5b6170eca9 Mon Sep 17 00:00:00 2001 From: brandon3055 Date: Fri, 1 Mar 2024 15:49:17 +1100 Subject: [PATCH] Move JEI compat to internal package and added JEI runtime dep. --- build.gradle | 1 + .../java/codechicken/lib/{ => internal}/compat/JEIPlugin.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) rename src/main/java/codechicken/lib/{ => internal}/compat/JEIPlugin.java (98%) diff --git a/build.gradle b/build.gradle index 6c3b0857..e4dea2da 100644 --- a/build.gradle +++ b/build.gradle @@ -85,6 +85,7 @@ dependencies { compileOnly(fg.deobf("mezz.jei:jei-${mc_version}-common-api:${jei_version}")) compileOnly(fg.deobf("mezz.jei:jei-${mc_version}-forge-api:${jei_version}")) + runtimeOnly(fg.deobf("mezz.jei:jei-${mc_version}-forge:${jei_version}")) } test { diff --git a/src/main/java/codechicken/lib/compat/JEIPlugin.java b/src/main/java/codechicken/lib/internal/compat/JEIPlugin.java similarity index 98% rename from src/main/java/codechicken/lib/compat/JEIPlugin.java rename to src/main/java/codechicken/lib/internal/compat/JEIPlugin.java index f9184811..3a0bea86 100644 --- a/src/main/java/codechicken/lib/compat/JEIPlugin.java +++ b/src/main/java/codechicken/lib/internal/compat/JEIPlugin.java @@ -1,4 +1,4 @@ -package codechicken.lib.compat; +package codechicken.lib.internal.compat; import codechicken.lib.CodeChickenLib; import codechicken.lib.gui.modular.ModularGui;