aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-04-04 12:08:25 +0200
committerLinnea Gräf <nea@nea.moe>2024-04-04 12:08:25 +0200
commit749f2571614a8e8cf57080518518b686ee983b8c (patch)
tree38c7af2cf40ab50b52503765d29279950d4c1894
parent96dc1c62d23bb7c8f3c7314efe4bb02d652aa172 (diff)
downloadFirmament-749f2571614a8e8cf57080518518b686ee983b8c.tar.gz
Firmament-749f2571614a8e8cf57080518518b686ee983b8c.tar.bz2
Firmament-749f2571614a8e8cf57080518518b686ee983b8c.zip
Add start up check for REI
-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": {