Fix how common classes are collected to fix mixins
This commit is contained in:
parent
64a3d8cb04
commit
604dc8aa1b
|
|
@ -51,9 +51,11 @@ java {
|
||||||
withSourcesJar()
|
withSourcesJar()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
source(project(":Common").sourceSets.main.allSource)
|
||||||
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
dependsOn ":Common:compileJava"
|
|
||||||
from project(":Common").sourceSets.main.output
|
|
||||||
from("LICENSE") {
|
from("LICENSE") {
|
||||||
rename { "${it}_${mod_name}" }
|
rename { "${it}_${mod_name}" }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -75,9 +75,11 @@ dependencies {
|
||||||
compileOnly project(":Common")
|
compileOnly project(":Common")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
source(project(":Common").sourceSets.main.allSource)
|
||||||
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
dependsOn ":Common:compileJava"
|
|
||||||
from project(":Common").sourceSets.main.output
|
|
||||||
|
|
||||||
manifest {
|
manifest {
|
||||||
attributes([
|
attributes([
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user