Skip to content

Commit

Permalink
Fix JTE javadoc on the plugin site by creating custom javadocJar task (
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-terrana authored Apr 5, 2021
1 parent 6e55e8d commit 7e4b2db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,13 @@ sourceSets {
groovydoc{
source fileTree("src/main/groovy")
}

/**
* this is necessary so that the groovydocs show up as the javadocs
* on the jenkins plugin site
*/
task javadocJar(type: Jar) {
description "An archive of the JavaDocs for Maven Central"
classifier "javadoc"
from groovydoc
}

0 comments on commit 7e4b2db

Please # to comment.