Skip to content

Commit

Permalink
Put compiled files in the api artifact instead of the source files
Browse files Browse the repository at this point in the history
 * This allows the api jar to be referenced in a project properly; with the source files, it wasn't working
  • Loading branch information
squeek502 committed Oct 11, 2014
1 parent ca69767 commit c2865e4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}

Expand Down

0 comments on commit c2865e4

Please sign in to comment.