Fixed fabric build

This commit is contained in:
Tschipp 2022-12-10 21:58:46 +01:00
parent e306fdce7d
commit 78402e9cc7

View File

@ -42,13 +42,20 @@ loom {
} }
var refmap_target = archivesBaseName + "-"
processResources { processResources {
from project(":Common").sourceSets.main.resources from project(":Common").sourceSets.main.resources
inputs.property "version", project.version inputs.property "version", project.version
inputs.property "refmap_target", refmap_target
filesMatching("fabric.mod.json") { filesMatching("fabric.mod.json") {
expand "version": project.version expand "version": project.version
} }
filesMatching("carryon.mixins.json") {
expand "refmap_target": refmap_target
}
} }
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {