forked from typelevel/discipline
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
43 lines (36 loc) · 1.06 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
ThisBuild / tlBaseVersion := "1.6"
ThisBuild / developers := List(
tlGitHubDev("larsrh", "Lars Hupel")
)
ThisBuild / crossScalaVersions := Seq("2.12.17", "2.13.10", "3.2.1")
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
ThisBuild / tlCiReleaseTags := false
lazy val root = tlCrossRootProject
.aggregate(core)
.settings(
name := "discipline"
)
lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.crossType(CrossType.Pure)
.in(file("core"))
.settings(
name := "discipline",
moduleName := "discipline-core",
libraryDependencies += "org.scalacheck" %%% "scalacheck" % "1.17.0"
)
.jsSettings(
tlVersionIntroduced ~= {
_ ++ List("2.12", "2.13").map(_ -> "1.0.2").toMap
}
)
.nativeSettings(
tlVersionIntroduced := Map(
"2.12" -> "1.1.3",
"2.13" -> "1.1.3",
"3" -> "1.5.0"
)
)