1
1
ThisBuild / licenses += ((" Apache-2.0" , url(" https://www.apache.org/licenses/LICENSE-2.0" )))
2
2
ThisBuild / startYear := Some (2004 )
3
3
4
- // I thought we could declare these in `ThisBuild` scope but no :-/
5
4
val commonSettings = Seq (
6
5
versionScheme := Some (" early-semver" ),
7
6
// next version will bump minor (because we dropped Scala 2.11 and upgraded
8
7
// Scala.js and Scala Native); we could go back to BinaryAndSourceCompatible
9
8
// once that's done
10
9
versionPolicyIntention := Compatibility .BinaryCompatible ,
10
+ crossScalaVersions := Seq (" 2.13.10" , " 2.12.17" , " 3.2.2" ),
11
+ scalaVersion := crossScalaVersions.value.head,
11
12
)
12
13
13
14
lazy val root = project.in(file(" ." ))
@@ -25,9 +26,6 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
25
26
name := " scala-parser-combinators" ,
26
27
scalaModuleAutomaticModuleName := Some (" scala.util.parsing" ),
27
28
28
- crossScalaVersions := Seq (" 2.13.10" , " 2.12.17" , " 3.2.2" ),
29
- scalaVersion := crossScalaVersions.value.head,
30
-
31
29
libraryDependencies += " junit" % " junit" % " 4.13.2" % Test ,
32
30
libraryDependencies += " com.github.sbt" % " junit-interface" % " 0.13.3" % Test ,
33
31
0 commit comments