diff --git a/build.gradle b/build.gradle index 2bea62782..a367c0ed8 100644 --- a/build.gradle +++ b/build.gradle @@ -127,9 +127,10 @@ task apiZip(type: Zip) { destinationDir = file 'output' } - subprojects { +subprojects { sourceSets.main.compileClassPath += rootProject.sourceSets.api.output - } +} + artifacts { archives apiZip }