Skip to content

Commit e51ccf8

Browse files
committed
genjavadoc 0.18 was the final version for Scala 2.11
1 parent 848cdfa commit e51ccf8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.sbt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,9 @@ lazy val scalaJava8Compat = (project in file("."))
130130
JavaDoc / javacOptions := Seq("-Xdoclint:none"),
131131
JavaDoc / packageDoc / artifactName := ((sv, mod, art) => "" + mod.name + "_" + sv.binary + "-" + mod.revision + "-javadoc.jar"),
132132
libraryDependencies ++= (CrossVersion.partialVersion(scalaVersion.value) match {
133-
case Some((3, _)) => Seq()
134-
case _ => Seq(compilerPlugin("com.typesafe.genjavadoc" % "genjavadoc-plugin" % "0.19" cross CrossVersion.full))
133+
case Some((3, _)) => Seq()
134+
case Some((2, 11)) => Seq(compilerPlugin("com.typesafe.genjavadoc" % "genjavadoc-plugin" % "0.18" cross CrossVersion.full))
135+
case _ => Seq(compilerPlugin("com.typesafe.genjavadoc" % "genjavadoc-plugin" % "0.19" cross CrossVersion.full))
135136
}),
136137
Compile / scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
137138
case Some((3, _)) => Seq()

0 commit comments

Comments
 (0)