Skip to content

Commit

Permalink
Add back Javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
SupremeMortal committed Feb 26, 2023
1 parent 091c595 commit e9a7d82
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pipeline {
stages {
stage ('Build') {
steps {
sh 'bash gradlew shadowJar'
sh './gradlew shadowJar'
}
post {
success {
Expand All @@ -19,6 +19,17 @@ pipeline {
}
}
}

stage ('Javadocs') {
when {
branch "master"
}

steps {
sh './gradlew javadoc'
step([$class: 'JavadocArchiver', javadocDir: 'build/docs/javadoc', keepAll: false])
}
}
}

post {
Expand Down
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,8 @@ tasks {
standardInput = System.`in`
workingDir = dir
}

javadoc {
options.encoding = "UTF-8"
}
}

0 comments on commit e9a7d82

Please sign in to comment.