Fix how common classes are collected to fix mixins

This commit is contained in:
Jared 2021-09-29 19:18:46 +02:00
parent 64a3d8cb04
commit 604dc8aa1b
No known key found for this signature in database
GPG Key ID: DB3BA3B9088A1BDF
2 changed files with 8 additions and 4 deletions

View File

@ -51,9 +51,11 @@ java {
withSourcesJar()
}
tasks.withType(JavaCompile) {
source(project(":Common").sourceSets.main.allSource)
}
jar {
dependsOn ":Common:compileJava"
from project(":Common").sourceSets.main.output
from("LICENSE") {
rename { "${it}_${mod_name}" }
}

View File

@ -75,9 +75,11 @@ dependencies {
compileOnly project(":Common")
}
tasks.withType(JavaCompile) {
source(project(":Common").sourceSets.main.allSource)
}
jar {
dependsOn ":Common:compileJava"
from project(":Common").sourceSets.main.output
manifest {
attributes([