Add start up check for REI

This commit is contained in:
Linnea Gräf
2024-04-04 12:08:25 +02:00
parent 96dc1c62d2
commit 749f257161
2 changed files with 4 additions and 2 deletions

View File

@@ -223,7 +223,8 @@ tasks.processResources {
val replacements = listOf( val replacements = listOf(
"version" to project.version.toString(), "version" to project.version.toString(),
"minecraft_version" to libs.versions.minecraft.get(), "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) } replacements.forEach { (key, value) -> inputs.property(key, value) }
filesMatching("**/fabric.mod.json") { filesMatching("**/fabric.mod.json") {

View File

@@ -46,7 +46,8 @@
"depends": { "depends": {
"fabric": "*", "fabric": "*",
"fabric-language-kotlin": ">=${fabric_kotlin_version}", "fabric-language-kotlin": ">=${fabric_kotlin_version}",
"minecraft": ">=${minecraft_version}" "minecraft": ">=${minecraft_version}",
"roughlyenoughitems": ">=${rei_version}"
}, },
"custom": { "custom": {
"modmenu": { "modmenu": {