File tree Expand file tree Collapse file tree 3 files changed +5
-19
lines changed
scalafix-rules/src/main/scala-3/scalafix/internal/rule Expand file tree Collapse file tree 3 files changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ lazy val core = projectMatrix
84
84
}
85
85
)
86
86
.defaultAxes(VirtualAxis .jvm)
87
- .jvmPlatform(buildScalaVersions :+ scala3, Seq (), p => p )
87
+ .jvmPlatform(buildScalaVersions :+ scala3)
88
88
.enablePlugins(BuildInfoPlugin )
89
89
90
90
lazy val rules = projectMatrix
@@ -105,7 +105,7 @@ lazy val rules = projectMatrix
105
105
}
106
106
)
107
107
.defaultAxes(VirtualAxis .jvm)
108
- .jvmPlatform(buildScalaVersions :+ scala3, Seq (), p => p )
108
+ .jvmPlatform(buildScalaVersions :+ scala3)
109
109
.dependsOn(core)
110
110
.enablePlugins(BuildInfoPlugin )
111
111
Original file line number Diff line number Diff line change @@ -203,8 +203,10 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys {
203
203
Compile / doc / scalacOptions ++= scaladocOptions,
204
204
Compile / unmanagedSourceDirectories ++= {
205
205
val sourceDir = (Compile / sourceDirectory).value
206
+ val scala212PlusSourceDir = " scala-2.12+"
206
207
CrossVersion .partialVersion(scalaVersion.value) match {
207
- case Some ((2 , n)) if n >= 12 => Seq (sourceDir / " scala-2.12+" )
208
+ case Some ((2 , n)) if n >= 12 => Seq (sourceDir / scala212PlusSourceDir)
209
+ case Some ((3 , _)) => Seq (sourceDir / scala212PlusSourceDir)
208
210
case _ => Seq ()
209
211
}
210
212
},
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments