-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
59 lines (44 loc) · 1.7 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
58
59
// Publication information
name := "csv2cadsr"
organization := "org.renci.ccdh"
version := "0.1-SNAPSHOT"
// Code license
licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT"))
// Scalac options.
scalaVersion := "2.13.1"
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-Ywarn-unused")
addCompilerPlugin(scalafixSemanticdb)
scalacOptions in Test ++= Seq("-Yrangepos")
// Set up the main class.
mainClass in (Compile, run) := Some("org.renci.ccdh.csv2cadsr.csv2caDSR")
// Fork when running.
fork in run := true
// Set up testing.
testFrameworks += new TestFramework("utest.runner.Framework")
// Code formatting and linting tools.
wartremoverWarnings ++= Warts.unsafe
addCommandAlias(
"scalafixCheckAll",
"; compile:scalafix --check ; test:scalafix --check"
)
// Library dependencies.
libraryDependencies ++= {
Seq(
// Command line argument parsing
"com.github.alexarchambault" %% "case-app" % "2.0.4",
// CSV input and output
"com.github.tototoshi" %% "scala-csv" % "1.3.6",
// Avro (PFB) input and output
"com.sksamuel.avro4s" %% "avro4s-core" % "4.0.0",
"org.apache.avro" % "avro" % "1.10.0",
// JSON reading/writing
"org.json4s" %% "json4s-native" % "3.6.9",
// HTTP requests.
"com.lihaoyi" %% "requests" % "0.6.5",
// XML reading/writing
"org.scala-lang.modules" %% "scala-xml" % "1.3.0",
// Logging
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.2",
"com.outr" %% "scribe" % "2.7.12"
)
}