File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,18 @@ val scala212 = "2.12.13"
5
5
val scala213 = " 2.13.4"
6
6
val scala3 = " 3.0.0-M3"
7
7
8
+ val dottyVersions = sys.props.get(" dottyVersion" ).toList
9
+
10
+ val scalaVersions = " 2.11.12" :: " 2.12.13" :: " 2.13.4" :: " 3.0.0-M3" :: dottyVersions
11
+ val scala2Versions = scalaVersions.filter(_.startsWith(" 2." ))
12
+
8
13
val scalaJSVersions = for {
9
- scalaV <- Seq (scala213, scala212)
14
+ scalaV <- scala2Versions
10
15
scalaJSV <- Seq (" 0.6.33" , " 1.4.0" )
11
16
} yield (scalaV, scalaJSV)
12
17
13
18
val scalaNativeVersions = for {
14
- scalaV <- Seq (scala213, scala212)
19
+ scalaV <- scala2Versions
15
20
scalaNativeV <- Seq (" 0.4.0" )
16
21
} yield (scalaV, scalaNativeV)
17
22
@@ -79,7 +84,7 @@ trait SourcecodeTestModule extends ScalaModule {
79
84
80
85
object sourcecode extends Module {
81
86
val dottyVersion = sys.props.get(" dottyVersion" )
82
- object jvm extends Cross [JvmSourcecodeModule ]((scala211 :: scala212 :: scala213 :: scala3 :: dottyVersion.toList) : _* )
87
+ object jvm extends Cross [JvmSourcecodeModule ](scalaVersions : _* )
83
88
class JvmSourcecodeModule (val crossScalaVersion : String )
84
89
extends SourcecodeMainModule with ScalaModule with SourcecodeModule {
85
90
You can’t perform that action at this time.
0 commit comments