diff --git a/build.gradle b/build.gradle index a367c0ed8..436acd862 100644 --- a/build.gradle +++ b/build.gradle @@ -100,6 +100,7 @@ allprojects { subprojects { archivesBaseName = "${System.getenv().JOB_NAME}" + sourceSets.main.compileClassPath += rootProject.sourceSets.api.output dependencies { compile rootProject } @@ -126,10 +127,6 @@ task apiZip(type: Zip) { include 'resonantinduction/api/**' destinationDir = file 'output' } - -subprojects { - sourceSets.main.compileClassPath += rootProject.sourceSets.api.output -} artifacts { archives apiZip