-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.sbt
43 lines (34 loc) · 1.24 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name := "scalac-options-root"
ThisBuild / tlBaseVersion := "0.1"
ThisBuild / organization := "org.typelevel"
ThisBuild / organizationName := "Typelevel"
ThisBuild / startYear := Some(2022)
ThisBuild / licenses := Seq(License.Apache2)
ThisBuild / developers := List(
tlGitHubDev("DavidGregory084", "David Gregory")
)
ThisBuild / tlSonatypeUseLegacyHost := false
val Scala212 = "2.12.20"
val Scala213 = "2.13.15"
val Scala3 = "3.3.4"
ThisBuild / scalaVersion := Scala212 // The default while sbt is still based on Scala 2.12.x
ThisBuild / crossScalaVersions := Seq(
Scala212,
Scala213,
Scala3
) // There's no reason not to cross-publish
lazy val root = tlCrossRootProject.aggregate(lib)
lazy val munitVersion = "1.0.2"
lazy val scalacheckVersion = "1.18.1"
lazy val munitScalacheckVersion = "1.0.0"
lazy val lib = crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Pure)
.in(file("lib"))
.settings(
name := "scalac-options",
libraryDependencies ++= Seq(
"org.scalameta" %%% "munit" % munitVersion % Test,
"org.scalacheck" %%% "scalacheck" % scalacheckVersion % Test,
"org.scalameta" %%% "munit-scalacheck" % munitScalacheckVersion % Test
)
)