Skip to content

Commit b152805

Browse files
committed
Fix: Missing mods forge env
1 parent 2c7754b commit b152805

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

forge/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ loom {
2121
mods {
2222
register("forge") {
2323
sourceSet("main", project(":forge"))
24+
25+
sourceSets.forEach {
26+
val dir = layout.buildDirectory.dir("sourcesSets/${it.name}")
27+
it.output.setResourcesDir(dir)
28+
it.java.destinationDirectory.set(dir)
29+
}
2430
}
2531
}
2632
}

0 commit comments

Comments
 (0)