mirror of https://github.com/jruby-gradle/jem
Remove some redundant tasks
This commit is contained in:
parent
dafe339ba3
commit
5f03c5982d
17
build.gradle
17
build.gradle
|
@ -77,23 +77,6 @@ plugins.withType(JavaPlugin) {
|
|||
}
|
||||
}
|
||||
|
||||
/* Add the sources jar to the list of artifacts to publish */
|
||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
classifier = 'sources'
|
||||
from sourceSets.main.allSource
|
||||
}
|
||||
|
||||
task groovydocJar(type: Jar) {
|
||||
dependsOn groovydoc
|
||||
classifier = 'groovydoc'
|
||||
from groovydoc.destinationDir
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar
|
||||
archives groovydocJar
|
||||
}
|
||||
|
||||
assemble.dependsOn check
|
||||
assemble.dependsOn groovydocJar
|
||||
assemble.dependsOn sourcesJar
|
||||
|
|
|
@ -5,8 +5,15 @@ task sourcesJar(type: Jar, dependsOn: classes) {
|
|||
from sourceSets.main.allSource
|
||||
}
|
||||
|
||||
task groovydocJar(type: Jar) {
|
||||
dependsOn groovydoc
|
||||
classifier = 'groovydoc'
|
||||
from groovydoc.destinationDir
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar
|
||||
archives groovydocJar
|
||||
}
|
||||
|
||||
bintray {
|
||||
|
|
Loading…
Reference in New Issue