@@ -30,9 +30,9 @@ lazy val root = project
3030 compat213JVM,
3131 compat213JS,
3232 compat213Native,
33- compat30JVM ,
34- compat30JS ,
35- compat31Native ,
33+ compat3JVM ,
34+ compat3JS ,
35+ compat3Native ,
3636 scalafixData211,
3737 scalafixData212,
3838 scalafixData213,
@@ -53,8 +53,7 @@ lazy val junit = libraryDependencies += "com.github.sbt" % "junit-interface" % "
5353lazy val scala211 = " 2.11.12"
5454lazy val scala212 = " 2.12.16"
5555lazy val scala213 = " 2.13.8"
56- lazy val scala30 = " 3.0.2"
57- lazy val scala31 = " 3.1.3"
56+ lazy val scala3 = " 3.1.3"
5857
5958lazy val compat = new MultiScalaCrossProject (
6059 " compat" ,
@@ -158,8 +157,7 @@ lazy val compat = new MultiScalaCrossProject(
158157val compat211 = compat(Seq (JSPlatform , JVMPlatform , NativePlatform ), scala211)
159158val compat212 = compat(Seq (JSPlatform , JVMPlatform , NativePlatform ), scala212)
160159val compat213 = compat(Seq (JSPlatform , JVMPlatform , NativePlatform ), scala213)
161- val compat30 = compat(Seq (JSPlatform , JVMPlatform ), scala30)
162- val compat31 = compat(Seq (JVMPlatform , NativePlatform ), scala31)
160+ val compat3 = compat(Seq (JSPlatform , JVMPlatform , NativePlatform ), scala3)
163161
164162lazy val compat211JVM = compat211.jvm
165163lazy val compat211JS = compat211.js
@@ -170,9 +168,9 @@ lazy val compat212Native = compat212.native
170168lazy val compat213JVM = compat213.jvm
171169lazy val compat213JS = compat213.js
172170lazy val compat213Native = compat213.native
173- lazy val compat30JVM = compat30 .jvm
174- lazy val compat30JS = compat30 .js
175- lazy val compat31Native = compat31 .native
171+ lazy val compat3JVM = compat3 .jvm
172+ lazy val compat3JS = compat3 .js
173+ lazy val compat3Native = compat3 .native
176174
177175lazy val binaryCompatOld = project
178176 .in(file(" binary-compat/old" ))
@@ -335,8 +333,7 @@ lazy val scalafixTests = project
335333 .enablePlugins(BuildInfoPlugin , ScalafixTestkitPlugin )
336334
337335val ciScalaVersion = sys.env.get(" CI_SCALA_VERSION" ).flatMap(Version .parse)
338- val isScalaJs = sys.env.get(" CI_PLATFORM" ) == Some (" js" )
339- val isScalaNative = sys.env.get(" CI_PLATFORM" ) == Some (" native" )
336+ val ciPlatform = sys.env.get(" CI_PLATFORM" ).map(p => if (p == " JVM" ) " " else p)
340337val isScalafix = sys.env.get(" CI_MODE" ) == Some (" testScalafix" )
341338val isScalafmt = sys.env.get(" CI_MODE" ) == Some (" testScalafmt" )
342339val isBinaryCompat = sys.env.get(" CI_MODE" ) == Some (" testBinaryCompat" )
@@ -370,9 +367,7 @@ inThisBuild {
370367 ).foreach(k =>
371368 println(k.padTo(20 , " " ).mkString(" " ) + " -> " + sys.env.getOrElse(k, " None" )))
372369
373- val platformSuffix = if (isScalaJs) " JS" else if (isScalaNative) " Native" else " "
374-
375- val compatProject = s " compat ${ciScalaVersion.get}$platformSuffix"
370+ val compatProject = s " compat ${ciScalaVersion.get}${ciPlatform.get}"
376371 val binaryCompatProject = " binaryCompat"
377372
378373 val testProjectPrefix =
0 commit comments