Skip to content

Commit

Permalink
Add API jar creation + maven uploading (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
TehNut authored and mezz committed Apr 22, 2016
1 parent c94fb63 commit f5fd420
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Expand Up @@ -99,9 +99,17 @@ task sourcesJar(type: Jar) {
classifier = 'sources'
}

task apiJar(type: Jar) {
from sourceSets.main.allSource
from sourceSets.main.output
include 'mezz/jei/api/**/*'
classifier = 'api'
}

artifacts {
archives javadocJar
archives sourcesJar
archives apiJar
}

task("uploadJars", dependsOn: "build") {
Expand Down

0 comments on commit f5fd420

Please sign in to comment.