-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
41 lines (34 loc) · 1.36 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
// https://typelevel.org/sbt-typelevel/faq.html#what-is-a-base-version-anyway
ThisBuild / tlBaseVersion := "0.1" // your current series x.y
ThisBuild / organization := "org.typelevel"
ThisBuild / organizationName := "Typelevel"
ThisBuild / startYear := Some(2022)
ThisBuild / licenses := Seq(License.Apache2)
ThisBuild / developers := List(
// your GitHub handle and name
tlGitHubDev("rossabaker", "Ross A. Baker")
)
// publish to s01.oss.sonatype.org (set to true to publish to oss.sonatype.org instead)
ThisBuild / tlSonatypeUseLegacyHost := false
// publish website from this branch
ThisBuild / tlSitePublishBranch := Some("main")
val Scala213 = "2.13.15"
ThisBuild / crossScalaVersions := Seq("2.12.20", Scala213, "3.3.4")
ThisBuild / scalaVersion := Scala213 // the default Scala
lazy val root = tlCrossRootProject.aggregate(core)
lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
.crossType(CrossType.Full)
.in(file("core"))
.settings(
name := "scalacheck-xml",
libraryDependencies ++= Seq(
"org.scala-lang.modules" %%% "scala-xml" % "2.2.0",
"org.scalacheck" %%% "scalacheck" % "1.17.1"
)
)
.platformsSettings(JSPlatform, NativePlatform)(
libraryDependencies ++= Seq(
"io.github.cquiroz" %%% "scala-java-locales" % "1.5.3"
)
)
lazy val docs = project.in(file("site")).enablePlugins(TypelevelSitePlugin)