mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-10-26 14:24:40 +00:00
Remove javadoc jar task in favor of an API jar task
This commit is contained in:
1 parent
89a4015bf4
commit
e05204f0a6
1 file changed
+7
-5
+7
-5
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user