1
- lazy val scalaTestVersion = " 3.2.9"
1
+ lazy val scalaTestVersion = " 3.2.10"
2
+
3
+ ThisBuild / crossScalaVersions := Seq (" 3.0.2" , " 2.13.6" , " 2.12.15" , " 2.11.12" )
4
+ ThisBuild / scalaVersion := crossScalaVersions.value.head
2
5
3
6
// We use <epoch>.<major>.<minor> like 99% of Scala libraries.
4
7
// Versions are binary compatible within x.y.* but not within x.*.*
5
8
ThisBuild / versionScheme := Some (" pvp" )
6
9
ThisBuild / versionPolicyIntention := Compatibility .None // 3.0.0
7
10
8
- lazy val commonSettings = Seq (
9
- scalacOptions ++= Seq (" -deprecation" , " -feature" ),
10
- )
11
-
12
11
lazy val swing = project.in(file(" ." ))
13
12
.settings(ScalaModulePlugin .scalaModuleSettings)
14
13
.settings(ScalaModulePlugin .scalaModuleOsgiSettings)
15
- .settings(commonSettings)
16
14
.settings(
17
15
name := " scala-swing" ,
18
16
scalaModuleAutomaticModuleName := Some (" scala.swing" ),
@@ -34,25 +32,18 @@ lazy val swing = project.in(file("."))
34
32
case _ => sourceDir / " scala-2.13-"
35
33
}
36
34
},
37
- // sources in (Compile, doc) := {
38
- // if (isDotty.value) Nil else (sources in (Compile, doc)).value // dottydoc is currently broken
39
- // },
40
35
)
41
36
42
37
lazy val examples = project.in(file(" examples" ))
43
38
.dependsOn(swing)
44
- .settings(commonSettings)
45
39
.settings(
46
- scalaVersion := (swing / scalaVersion).value,
47
40
run / fork := true ,
48
41
fork := true ,
49
42
)
50
43
51
44
lazy val uitest = project.in(file(" uitest" ))
52
45
.dependsOn(swing)
53
- .settings(commonSettings)
54
46
.settings(
55
- scalaVersion := (swing / scalaVersion).value,
56
47
run / fork := true ,
57
48
fork := true ,
58
49
)
0 commit comments