Skip to content

Commit 0d6970e

Browse files
Add HTML5 option for Javadoc
1 parent 654073d commit 0d6970e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ signing {
121121
sign publishing.publications.mavenJava
122122
}
123123

124+
javadoc {
125+
if(JavaVersion.current().isJava9Compatible()) {
126+
options.addBooleanOption('html5', true)
127+
}
128+
}
129+
124130
sourceSets {
125131
integrationTest {
126132
compileClasspath += sourceSets.main.output

0 commit comments

Comments
 (0)