fix resources
This commit is contained in:
parent
db2c4f114f
commit
dfd8bc4057
|
|
@ -33,6 +33,7 @@ loom {
|
||||||
|
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
|
from project(":Common").sourceSets.main.resources
|
||||||
inputs.property "version", project.version
|
inputs.property "version", project.version
|
||||||
|
|
||||||
filesMatching("fabric.mod.json") {
|
filesMatching("fabric.mod.json") {
|
||||||
|
|
@ -40,8 +41,6 @@ processResources {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets.main.resources.srcDir '../Common/src/main/resources'
|
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
source(project(":Common").sourceSets.main.allSource)
|
source(project(":Common").sourceSets.main.allSource)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,6 @@ minecraft {
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets.main.resources.srcDir 'src/generated/resources'
|
sourceSets.main.resources.srcDir 'src/generated/resources'
|
||||||
sourceSets.main.resources.srcDir '../Common/src/main/resources'
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
||||||
|
|
@ -76,6 +75,11 @@ tasks.withType(JavaCompile) {
|
||||||
source(project(":Common").sourceSets.main.allSource)
|
source(project(":Common").sourceSets.main.allSource)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
processResources {
|
||||||
|
from project(":Common").sourceSets.main.resources
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
jar.finalizedBy('reobfJar')
|
jar.finalizedBy('reobfJar')
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user