fix fabric runtime

This commit is contained in:
Relentless 2022-09-16 20:13:01 +02:00
parent cb09e8f947
commit 75ba0e72db
No known key found for this signature in database
GPG key ID: 759D97B8C6F25265

View file

@ -13,6 +13,7 @@ val mappingsChannel: String by project
val mappingsVersion: String by project
val extraModsDirectory: String by project
val reiVersion: String by project
val jeiVersion: String by project
val baseArchiveName = "${modId}-fabric-${minecraftVersion}"
@ -36,6 +37,11 @@ dependencies {
modCompileOnly("me.shedaniel:RoughlyEnoughItems-api-fabric:${reiVersion}")
modRuntimeOnly("me.shedaniel:RoughlyEnoughItems-fabric:${reiVersion}")
// required to run the fabric client
modRuntimeOnly("teamreborn:energy:2.2.0")
modCompileOnlyApi("mezz.jei:jei-${minecraftVersion}-common-api:${jeiVersion}")
modCompileOnlyApi("mezz.jei:jei-${minecraftVersion}-fabric-api:${jeiVersion}")
fileTree("$extraModsDirectory-$minecraftVersion") { include("**/*.jar") }
.forEach { f ->
val sepIndex = f.nameWithoutExtension.lastIndexOf('-');
@ -48,7 +54,7 @@ dependencies {
modLocalRuntime("$extraModsDirectory:$mod:$version")
}
implementation(project(":Common"))
implementation(project(":Common", "namedElements"))
}
loom {