File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
sbt-test/sbt-dotty/scaladoc
src/dotty/tools/sbtplugin Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
scalaVersion := sys.props(" plugin.scalaVersion" )
2
2
3
3
TaskKey [Unit ](" assertUsingScaladoc" ) := {
4
- assert(useScaladoc.value)
4
+ assert(useScaladoc.value, " Scaladoc version does not match the expected pattern " )
5
5
}
6
6
7
7
TaskKey [Unit ](" checkScaladocOptions" ) := {
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ object DottyPlugin extends AutoPlugin {
374
374
resolvers ++= (if (! useScaladoc.value) Nil else Seq (Resolver .jcenterRepo)),
375
375
useScaladoc := {
376
376
val v = scalaVersion.value
377
- v.startsWith(" 3.0.0 " ) && ! v.startsWith(" 3.0.0-M1" ) && ! v.startsWith(" 3.0.0-M2" )
377
+ v.startsWith(" 3." ) && ! v.startsWith(" 3.0.0-M1" ) && ! v.startsWith(" 3.0.0-M2" )
378
378
},
379
379
// We need to add doctool classes to the classpath so they can be called
380
380
doc / scalaInstance := Def .taskDyn {
You can’t perform that action at this time.
0 commit comments