-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.sbt
49 lines (40 loc) · 1.62 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
44
45
46
47
48
49
ThisBuild / tlBaseVersion := "1.5"
ThisBuild / developers := List(
tlGitHubDev("larsrh", "Lars Hupel"),
tlGitHubDev("travisbrown", "Travis Brown"),
tlGitHubDev("ChristopherDavenport", "Christopher Davenport"),
tlGitHubDev("djspiewak", "Daniel Spiewak"),
Developer("vasilmkd", "Vasil Vasilev", "[email protected]", url("https://github.com/vasilmkd"))
)
val Scala213 = "2.13.15"
ThisBuild / tlCiReleaseTags := false
ThisBuild / crossScalaVersions := Seq("3.3.4", "2.12.20", Scala213)
ThisBuild / tlVersionIntroduced := Map("3" -> "1.1.6")
ThisBuild / tlSonatypeUseLegacyHost := false
ThisBuild / licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT"))
ThisBuild / startYear := Some(2019)
ThisBuild / tlSiteApiUrl := Some(
url("https://www.javadoc.io/doc/org.typelevel/discipline-specs2_2.13"))
val disciplineV = "1.7.0"
val specs2V = "4.20.9"
lazy val root = tlCrossRootProject.aggregate(core)
lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.crossType(CrossType.Pure)
.in(file("core"))
.settings(
name := "discipline-specs2",
libraryDependencies ++= Seq(
"org.typelevel" %%% "discipline-core" % disciplineV,
"org.specs2" %%% "specs2-scalacheck" % specs2V
),
headerLicense := Some(
HeaderLicense.MIT(s"${startYear.value.get}-2022", organizationName.value)
)
)
.jsSettings(
tlVersionIntroduced ~= { _ ++ List("2.12", "2.13").map(_ -> "1.1.0").toMap }
)
.nativeSettings(
tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "1.5.0").toMap
)
lazy val docs = project.in(file("site")).enablePlugins(TypelevelSitePlugin).dependsOn(core.jvm)