@@ -73,10 +73,11 @@ lazy val scalaJava8Compat = (project in file("."))
73
73
74
74
libraryDependencies += " com.novocode" % " junit-interface" % " 0.11" % " test" ,
75
75
76
- // we're still in 0.x land so we could choose to break bincompat,
77
- // but let's at least be aware when we're doing it. also we should
78
- // think about going 1.0, it's been a while
79
- scalaModuleMimaPreviousVersion := Some (" 0.9.1" ),
76
+ scalaModuleMimaPreviousVersion := {
77
+ // pending resolution of https://github.com/scalacenter/sbt-version-policy/issues/62
78
+ if (isDotty.value) None
79
+ else Some (" 0.9.1" )
80
+ },
80
81
81
82
mimaBinaryIssueFilters ++= {
82
83
import com .typesafe .tools .mima .core ._ , ProblemFilters ._
@@ -146,8 +147,14 @@ lazy val scalaJava8Compat = (project in file("."))
146
147
},
147
148
JavaDoc / javacOptions := Seq (" -Xdoclint:none" ),
148
149
JavaDoc / packageDoc / artifactName := ((sv, mod, art) => " " + mod.name + " _" + sv.binary + " -" + mod.revision + " -javadoc.jar" ),
149
- libraryDependencies += compilerPlugin(" com.typesafe.genjavadoc" % " genjavadoc-plugin" % " 0.16" cross CrossVersion .full),
150
- Compile / scalacOptions += " -P:genjavadoc:out=" + (target.value / " java" )
150
+ libraryDependencies ++= (
151
+ if (isDotty.value) Seq ()
152
+ else Seq (compilerPlugin(" com.typesafe.genjavadoc" % " genjavadoc-plugin" % " 0.16" cross CrossVersion .full))
153
+ ),
154
+ Compile / scalacOptions ++= (
155
+ if (isDotty.value) Seq ()
156
+ else Seq (s """ -P:genjavadoc:out= ${target.value / " java" }""" )
157
+ ),
151
158
)
152
159
}
153
160
)
0 commit comments