aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts3
-rw-r--r--src/main/resources/fabric.mod.json3
2 files changed, 4 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index be6cd55..700db54 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -223,7 +223,8 @@ tasks.processResources {
val replacements = listOf(
"version" to project.version.toString(),
"minecraft_version" to libs.versions.minecraft.get(),
- "fabric_kotlin_version" to libs.versions.fabric.kotlin.get()
+ "fabric_kotlin_version" to libs.versions.fabric.kotlin.get(),
+ "rei_version" to libs.versions.rei.get()
)
replacements.forEach { (key, value) -> inputs.property(key, value) }
filesMatching("**/fabric.mod.json") {
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index 055a841..fc4beac 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -46,7 +46,8 @@
"depends": {
"fabric": "*",
"fabric-language-kotlin": ">=${fabric_kotlin_version}",
- "minecraft": ">=${minecraft_version}"
+ "minecraft": ">=${minecraft_version}",
+ "roughlyenoughitems": ">=${rei_version}"
},
"custom": {
"modmenu": {