architectury-plugin
architectury-plugin copied to clipboard
Fabric: CompileOnly mode missing common assets
Fabric runs are missing all assets from the common project when choosing to use compileOnly mode. This does not happen for (neo)forge end. Below is the snippet causing it. If i remove the parts below then it will work fine.
allprojects {
[...]
architectury {
compileOnly()
}
[...]
}
subprojects {
[...]
if (project.path != ':common') {
loom {
mods {
main {
sourceSet project.sourceSets.main
sourceSet project(':common').sourceSets.main
}
}
}
}
}