Skip to content

Commit ba87027

Browse files
committed
Future-proof isDotty setting for when we switch to 3.x versioning
1 parent 524c978 commit ba87027

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
@@ -168,7 +168,7 @@ object DottyPlugin extends AutoPlugin {
168168
val Def = sbt.Def
169169
override def projectSettings: Seq[Setting[_]] = {
170170
Seq(
171-
isDotty := scalaVersion.value.startsWith("0."),
171+
isDotty := scalaVersion.value.startsWith("0.") || scalaVersion.value.startsWith("3."),
172172

173173
scalaOrganization := {
174174
if (isDotty.value)

0 commit comments

Comments
 (0)