Skip to content

Commit

Permalink
Add the groovydocs jar to the archives published to bintray
Browse files Browse the repository at this point in the history
  • Loading branch information
R. Tyler Croy committed Mar 26, 2015
1 parent a1a869e commit b015b46
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.gradle
Expand Up @@ -125,17 +125,21 @@ integrationTest {
dependsOn copyIntegrationTestJRuby
}



/* 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
}


task installGroovyDoc (type : Copy) {
from ({new File(buildDir,'docs/groovydoc')}) {
include '**'
Expand Down

0 comments on commit b015b46

Please sign in to comment.