From c2865e4be9f5be1a1a95b8945bdcc1591f03f11f Mon Sep 17 00:00:00 2001 From: squeek Date: Sat, 11 Oct 2014 14:32:00 -0700 Subject: [PATCH] Put compiled files in the api artifact instead of the source files * This allows the api jar to be referenced in a project properly; with the source files, it wasn't working --- build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index d5c9db3..5e5d686 100644 --- a/build.gradle +++ b/build.gradle @@ -59,9 +59,8 @@ task deobfArtifact(type: Jar) { } task apiArtifact(type: Jar, dependsOn: compileJava) { - from(project.buildDir.getPath()+"/sources/java") { - include "squeek/applecore/api/**" - } + from sourceSets.main.output + include "squeek/applecore/api/**" classifier = 'api' }