Skip to content

Commit

Permalink
Update build.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
squid233 committed Dec 2, 2023
1 parent 95ea3f2 commit 02a3dab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,14 @@ tasks.withType<Javadoc> {
charSet = "UTF-8"
isAuthor = true
if (jdkEarlyAccessDoc == null) {
links("https://docs.oracle.com/en/java/javase/$targetJavaVersion/docs/api/")
links("https://docs.oracle.com/en/java/javase/$jdkVersion/docs/api/")
} else {
links("https://download.java.net/java/early_access/$jdkEarlyAccessDoc/docs/api/")
}
if (jdkEnablePreview.toBoolean()) {
addBooleanOption("-enable-preview", true)
addStringOption("source", jdkVersion)
}
}
}
}
Expand Down

0 comments on commit 02a3dab

Please sign in to comment.