mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-03 08:26:11 +00:00
add more jar package (javadocJar sourcesJar)
This commit is contained in:
parent
0a001b8a63
commit
558b8e4eca
13
build.gradle
13
build.gradle
@ -190,6 +190,19 @@ task iris(type: Copy) {
|
||||
dependsOn(build)
|
||||
}
|
||||
|
||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
dependsOn(iris)
|
||||
archiveClassifier.set('sources')
|
||||
from sourceSets.main.allSource
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||
dependsOn(iris)
|
||||
archiveClassifier.set('javadoc')
|
||||
from javadoc.destinationDir
|
||||
}
|
||||
|
||||
|
||||
def registerCustomOutputTask(name, path) {
|
||||
if (!System.properties['os.name'].toLowerCase().contains('windows')) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user