diff --git a/Fabric/build.gradle b/Fabric/build.gradle index ed54a18..03d6b59 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -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}" } } diff --git a/Forge/build.gradle b/Forge/build.gradle index b54c537..bd7fc0a 100644 --- a/Forge/build.gradle +++ b/Forge/build.gradle @@ -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([