Skip to content

Commit a90ce46

Browse files
authored
Merge pull request #11946 from dotty-staging/fix-doc-ci-issue
Fix detecting Scala3 version in useScaladoc
2 parents 5bb0e92 + 4246c58 commit a90ce46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ object DottyPlugin extends AutoPlugin {
374374
resolvers ++= (if(!useScaladoc.value) Nil else Seq(Resolver.jcenterRepo)),
375375
useScaladoc := {
376376
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")
378378
},
379379
// We need to add doctool classes to the classpath so they can be called
380380
doc / scalaInstance := Def.taskDyn {

0 commit comments

Comments
 (0)