Skip to content

Commit

Permalink
remove javadoc links for java 17 and above (#2637)
Browse files Browse the repository at this point in the history
* remove javadoc links for java 17 and above to fix test failures
  • Loading branch information
davecramer committed Oct 11, 2022
1 parent 075fd8a commit b738991
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,9 @@ allprojects {
header = "<b>PostgreSQL JDBC</b>"
bottom =
"Copyright &copy; 1997-$lastEditYear PostgreSQL Global Development Group. All Rights Reserved."
if (JavaVersion.current() >= JavaVersion.VERSION_1_9) {
if (JavaVersion.current() >= JavaVersion.VERSION_17) {
addBooleanOption("html5", true)
} else if (JavaVersion.current() >= JavaVersion.VERSION_1_9) {
addBooleanOption("html5", true)
links("https://docs.oracle.com/javase/9/docs/api/")
} else {
Expand Down

0 comments on commit b738991

Please sign in to comment.