diff --git a/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala b/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala index ba2c072177cf..30582dc35933 100644 --- a/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala +++ b/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala @@ -374,7 +374,7 @@ object DottyPlugin extends AutoPlugin { resolvers ++= (if(!useScaladoc.value) Nil else Seq(Resolver.jcenterRepo)), useScaladoc := { val v = scalaVersion.value - v.startsWith("3.0.0") && !v.startsWith("3.0.0-M1") && !v.startsWith("3.0.0-M2") + v.startsWith("3") && !v.startsWith("3.0.0-M1") && !v.startsWith("3.0.0-M2") }, // We need to add doctool classes to the classpath so they can be called doc / scalaInstance := Def.taskDyn {