-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
54 lines (44 loc) · 1.91 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
50
51
52
53
54
import sbtcrossproject.{ CrossType, crossProject }
val Scala213V = "2.13.14"
val Scala3V = "3.3.3"
val Scala212V = "2.12.19"
val circeVersion = "0.14.9"
val munitVersion = "1.0.1"
val munitScalacheckV = "1.0.0"
val disciplineMunitVersion = "2.0.0"
val refinedV = "0.11.2"
ThisBuild / tlBaseVersion := "0.15"
ThisBuild / tlCiReleaseTags := true
ThisBuild / organization := "io.circe"
ThisBuild / crossScalaVersions := List(Scala213V, Scala212V, Scala3V)
ThisBuild / scalaVersion := Scala213V
ThisBuild / githubWorkflowJavaVersions := Seq("8", "17").map(JavaSpec.temurin)
ThisBuild / tlCiScalafmtCheck := true
ThisBuild / circeRootOfCodeCoverage := Some("rootJVM")
lazy val root =
tlCrossRootProject.aggregate(refined)
lazy val refined = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.in(file("refined"))
.settings(
name := "circe-refined",
libraryDependencies ++= Seq(
"io.circe" %%% s"circe-core" % circeVersion,
"io.circe" %%% s"circe-testing" % circeVersion % Test,
"eu.timepit" %%% "refined" % refinedV,
"eu.timepit" %%% "refined-scalacheck" % refinedV % Test,
"org.scalameta" %%% "munit" % munitVersion % Test,
"org.scalameta" %%% "munit-scalacheck" % munitScalacheckV % Test,
"org.typelevel" %%% "discipline-munit" % disciplineMunitVersion % Test
),
tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "0.15.1").toMap
)
.jvmSettings()
.jsSettings()
.nativeSettings()
ThisBuild / startYear := Some(2024)
ThisBuild / developers := List(
Developer("travisbrown", "Travis Brown", "[email protected]", url("https://twitter.com/travisbrown")),
Developer("zmccoy", "Zach McCoy", "[email protected]", url("https://twitter.com/zachamccoy")),
Developer("zarthross", "Darren Gibson", "[email protected]", url("https://twitter.com/zarthross")),
Developer("hamnis", "Erlend Hamnaberg", "[email protected]", url("https://github.com/hamnis"))
)