Fixed fabric build
This commit is contained in:
parent
e306fdce7d
commit
78402e9cc7
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user