Skip to content

Commit

Permalink
build: Scaladoc JDK links handling breaking build
Browse files Browse the repository at this point in the history
  • Loading branch information
johanandren committed Jan 9, 2025
1 parent 2777285 commit cf1abee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ object Common extends AutoPlugin {
(if (scalaBinaryVersion.value.startsWith("3")) {
Seq(
s"-external-mappings:https://docs.oracle.com/en/java/javase/${Dependencies.JavaDocLinkVersion}/docs/api/java.base/")
} else if (isJdk17orHigher) {
} else if (isJdk17orHigher && scalaBinaryVersion.value.startsWith("2.13")) {
Seq(
"-jdk-api-doc-base",
s"https://docs.oracle.com/en/java/javase/${Dependencies.JavaDocLinkVersion}/docs/api/java.base/",
Expand Down

0 comments on commit cf1abee

Please sign in to comment.