-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
49 lines (44 loc) · 1.58 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
inThisBuild(
Seq(
tlBaseVersion := "0.5",
startYear := Some(2021),
organizationName := "Erlend Hamnaberg",
organization := "net.hamnaberg",
crossScalaVersions := Seq("2.12.19", "2.13.14", "3.3.3"),
scalaVersion := crossScalaVersions.value.head,
ThisBuild / licenses := Seq(License.Apache2),
developers := List(
tlGitHubDev("hamnis", "Erlend Hamnaberg")
),
tlCiReleaseBranches := Nil,
tlJdkRelease := Some(11),
tlSonatypeUseLegacyHost := true,
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11"))
)
)
val circeVersion = "0.14.7"
val sttpModelVersion = "0.10.0"
val catsVersion = "2.12.0"
lazy val core = crossProject(JVMPlatform, JSPlatform)
.settings(
name := "jsonschema-core",
headerLicenseStyle := HeaderLicenseStyle.SpdxSyntax,
libraryDependencies ++= Seq(
"com.softwaremill.sttp.apispec" %%% "apispec-model" % sttpModelVersion,
"com.softwaremill.sttp.apispec" %%% "jsonschema-circe" % sttpModelVersion % Test,
"io.circe" %%% "circe-core" % circeVersion,
"io.circe" %%% "circe-generic" % circeVersion,
"io.circe" %%% "circe-parser" % circeVersion,
"io.circe" %%% "circe-jawn" % circeVersion,
"org.typelevel" %%% "cats-core" % catsVersion,
"org.typelevel" %%% "cats-free" % catsVersion,
"org.scalameta" %%% "munit" % "0.7.29" % Test
)
)
.jvmSettings(
libraryDependencies += "org.jruby.joni" % "joni" % "2.2.1"
)
.jsSettings(
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % "2.6.0"
)
lazy val root = tlCrossRootProject.aggregate(core)