-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbuild.sbt
57 lines (54 loc) · 1.69 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
55
56
57
ThisBuild / tlBaseVersion := "0.10"
ThisBuild / startYear := Some(2017)
ThisBuild / description := "Yet another Typesafe Config decoder"
ThisBuild / developers := List(
Developer("jonas", "Jonas Fonseca", "[email protected]", url("https://github.com/jonas"))
)
val scala212 = "2.12.20"
val scala213 = "2.13.15"
val scala3 = "3.3.4"
ThisBuild / scalaVersion := scala213
ThisBuild / crossScalaVersions := Seq(scala212, scala213, scala3)
ThisBuild / circeRootOfCodeCoverage := Some("root")
ThisBuild / tlCiReleaseBranches := Seq("master")
ThisBuild / tlFatalWarnings := false
ThisBuild / tlMimaPreviousVersions ++= Set(
// manually added because tags are not v-prefixed
"0.3.0",
"0.4.0",
"0.4.1",
"0.5.0",
"0.6.0",
"0.6.1",
"0.7.0",
"0.7.0-M1",
"0.8.0"
)
val Versions = new {
val circe = "0.14.10"
val config = "1.4.3"
val munit = "1.0.4"
val disciplineMunit = "2.0.0"
val munitCatsEffect = "2.0.0"
}
lazy val root = tlCrossRootProject.aggregate(config)
lazy val config = project
.in(file("config"))
.settings(
name := "circe-config",
libraryDependencies ++= Seq(
"com.typesafe" % "config" % Versions.config,
"io.circe" %% "circe-core" % Versions.circe,
"io.circe" %% "circe-parser" % Versions.circe,
"io.circe" %% "circe-generic" % Versions.circe % Test,
"io.circe" %% "circe-testing" % Versions.circe % Test,
"org.scalameta" %% "munit" % Versions.munit % Test,
"org.typelevel" %% "discipline-munit" % Versions.disciplineMunit % Test,
"org.typelevel" %% "munit-cats-effect" % Versions.munitCatsEffect % Test
),
tlVersionIntroduced := Map(
"2.12" -> "0.3.0",
"2.13" -> "0.7.0",
"3" -> "0.10.0"
)
)