Skip to content

Commit 66ae25b

Browse files
committed
[Java] Be more flexible with javadoc version.
1 parent 153fc8c commit 66ae25b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ subprojects {
161161
javadoc {
162162
title = '<h1>Simple Binary Encoding</h1>'
163163
options.bottom = '<i>Copyright &#169; 2014-2018 Real Logic Ltd. All Rights Reserved.</i>'
164-
if (JavaVersion.current() == JavaVersion.VERSION_11) {
164+
if (JavaVersion.current().ordinal() >= JavaVersion.VERSION_1_10.ordinal()) {
165165
options.addBooleanOption 'html5', true
166166
}
167167
}

0 commit comments

Comments
 (0)