From c23deb5b5f02e4a931f42d06182f48013da2f258 Mon Sep 17 00:00:00 2001 From: Ampflower Date: Fri, 17 Mar 2023 05:36:40 -0500 Subject: [PATCH] Work around Gradle --- build.gradle.kts | 3 ++- gradle.properties | 2 +- src/main/resources/quilt.mod.json | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 585b4fb..45cedbd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -57,7 +57,8 @@ dependencies { minecraft(libs.minecraft) mappings(loom.officialMojangMappings()) modImplementation(libs.quilt.loader) - modImplementation(libs.spruceui)?.let(::include) + modImplementation(libs.spruceui) + include(libs.spruceui) modImplementation(libs.modmenu) modImplementation(libs.quilted.fabric.api) modRuntimeOnly(libs.bundles.mod.runtime) diff --git a/gradle.properties b/gradle.properties index 1f6e3d3..4b3cb90 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,6 @@ org.gradle.jvmargs=-Xmx1G # Your project's version group=net.kjp12 -projectVersion=0.0.3 +projectVersion=0.0.4 modrinthId=z23qey0b minecraftCompatible=1.19,1.19.1,1.19.2 diff --git a/src/main/resources/quilt.mod.json b/src/main/resources/quilt.mod.json index 78ea0c7..c10332c 100644 --- a/src/main/resources/quilt.mod.json +++ b/src/main/resources/quilt.mod.json @@ -39,6 +39,10 @@ { "id": "java", "versions": ">=${java}" + }, + { + "id": "spruceui", + "versions": "*" } ] },