-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
50 lines (45 loc) · 2.19 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
//import sbt.Keys.run
val scala3Version = "3.1.0"
lazy val scalaTest = "org.scalatest" %% "scalatest" % "3.2.9"
lazy val core = project
.in(file("core"))
.settings(
name := "core",
version := "0.1.0",
scalaVersion := scala3Version,
libraryDependencies += "org.typelevel" %% "cats-core" % "2.7.0",
libraryDependencies += "org.typelevel" %% "cats-free" % "2.7.0",
libraryDependencies += "org.typelevel" %% "cats-laws" % "2.7.0",
libraryDependencies += "org.typelevel" %% "cats-parse" % "0.3.6",
libraryDependencies += "org.typelevel" %% "cats-effect" % "3.3.0",
libraryDependencies += "co.fs2" %% "fs2-core" % "3.2.4",
libraryDependencies += "com.monovore" %% "decline" % "2.2.0",
libraryDependencies += scalaTest % Test,
libraryDependencies += "org.scalatest" %% "scalatest-freespec" % "3.2.9" % Test,
libraryDependencies += "org.typelevel" %% "discipline-scalatest" % "2.1.5" % Test,
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test",
libraryDependencies += "co.fs2" % "fs2-core_3" % "3.2.4",
libraryDependencies += "co.fs2" % "fs2-io_3" % "3.2.4",
libraryDependencies += "org.typelevel" % "shapeless3-deriving_3" % "3.0.4",
libraryDependencies += "org.jline" % "jline" % "3.21.0",
test / envVars := Map("SCALACTIC_FILL_FILE_PATHNAMES" -> "yes"),
scalacOptions ++= Seq(
"-deprecation", // Emit warning and location for usages of deprecated APIs.
"-feature", // Emit warning and location for usages of features that should be imported explicitly.
"-language:existentials", // Existential types (besides wildcard types) can be written and inferred
"-language:higherKinds", // Allow higher-kinded types
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
"-Xfatal-warnings", // Fail the compilation if there are any warnings.
"-Xmax-inlines", "1000"
),
assembly / mainClass := Some("duff.jagsql.repl.Main"),
run / mainClass := Some("duff.jagsql.repl.Main")
)
lazy val root = project.in(file("."))
.aggregate(core)
.settings(
name := "jagsql",
version := "0.1.0"
).settings(
addCommandAlias("run", "core/run")
)