Remove javadoc jar task in favor of an API jar task

This commit is contained in:
tterrag1098 committed 2014-12-30 11:22:48 -05:00
1 parent 89a4015bf4
commit e05204f0a6
1 file changed
+7 -5
+7 -5
View File
@@ -90,9 +90,11 @@ task sourceJar(type: Jar) {
classifier = 'sources'
}
task javadocJar(type: Jar, dependsOn: javadoc) {
from javadoc.destinationDir
classifier = 'javadoc'
task apiJar(type: Jar) {
from sourceSets.main.allSource
from sourceSets.main.output
include 'crazypants/enderio/api/**/*'
classifier = 'api'
}
task deobfJar(type: Jar) {
@@ -102,7 +104,7 @@ task deobfJar(type: Jar) {
classifier = 'dev'
}
build.dependsOn sourceJar, deobfJar
build.dependsOn sourceJar, deobfJar, apiJar
publishing {
tasks.publish.dependsOn 'build'
@@ -111,7 +113,7 @@ publishing {
from components.java
artifact sourceJar
artifact javadocJar
artifact apiJar
artifact deobfJar
}
}