-
Notifications
You must be signed in to change notification settings - Fork 56
/
build.sbt
34 lines (27 loc) · 974 Bytes
/
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
ThisBuild / tlBaseVersion := "1.7"
ThisBuild / developers := List(
tlGitHubDev("larsrh", "Lars Hupel")
)
ThisBuild / crossScalaVersions := Seq("2.12.20", "2.13.15", "3.3.4")
ThisBuild / tlVersionIntroduced := Map("3" -> "1.1.5")
ThisBuild / licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT"))
ThisBuild / startYear := Some(2013)
ThisBuild / tlJdkRelease := Some(8)
ThisBuild / tlSonatypeUseLegacyHost := false
lazy val discipline = tlCrossRootProject.aggregate(core)
lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.crossType(CrossType.Pure)
.in(file("core"))
.settings(
name := "discipline",
moduleName := "discipline-core",
libraryDependencies += "org.scalacheck" %%% "scalacheck" % "1.18.1"
)
.jsSettings(
tlVersionIntroduced ~= {
_ ++ List("2.12", "2.13").map(_ -> "1.0.2").toMap
}
)
.nativeSettings(
tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "1.7.0").toMap
)