mirror of
https://github.com/AlmostReliable/almostunified.git
synced 2024-11-27 10:05:47 -05:00
fix fabric runtime
This commit is contained in:
parent
cb09e8f947
commit
75ba0e72db
1 changed files with 7 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue