-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
35 lines (31 loc) · 1.23 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
import Dependencies._
ThisBuild / scalaVersion := "2.13.8"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "com.github.windymelt"
ThisBuild / organizationName := "windymelt"
lazy val root = (project in file("."))
.settings(
name := "json-tempest",
libraryDependencies += scalaTest % Test,
libraryDependencies ++= Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser",
"io.circe" %% "circe-shapes"
).map(_ % circeVersion),
libraryDependencies += "com.chuusai" % "shapeless_2.13" % "2.3.9",
Compile / mainClass := Some("com.github.windymelt.jsontempest.Main")
).enablePlugins(NativeImagePlugin)
lazy val testsuiteValidator = (project in file("validator"))
.settings(
name := "json-tempest-validator",
libraryDependencies ++= Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser",
"io.circe" %% "circe-shapes"
).map(_ % circeVersion),
libraryDependencies += "com.chuusai" % "shapeless_2.13" % "2.3.9",
Compile / run / fork := true
).dependsOn(root)
// See https://www.scala-sbt.org/1.x/docs/Using-Sonatype.html for instructions on how to publish to Sonatype.