-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
77 lines (52 loc) · 2.64 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
enablePlugins(JavaAppPackaging)
organization := "org.renci"
name := "omnicorp"
version := "0.1-SNAPSHOT"
licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT"))
// Scalac options.
scalaVersion := "2.12.10" //Neo4j has a 2.11 Scala dependency but it seems to be only for the cypher parser
scalacOptions ++= Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-Ywarn-unused")
addCompilerPlugin(scalafixSemanticdb)
scalacOptions in Test ++= Seq("-Yrangepos")
mainClass in Compile := Some("org.renci.chemotext.Main")
// Code formatting and linting tools.
wartremoverWarnings ++= Warts.unsafe
// Running and command line options.
javaOptions += "-Xmx20G"
fork := true
testFrameworks += new TestFramework("utest.runner.Framework")
// Dependency information.
// Our cluster doesn't allow worker nodes to access the internet;
// we therefore go into offline mode when running the code using `sbt`.
offline in run := true
resolvers += Resolver.mavenLocal
libraryDependencies ++= {
Seq(
"org.backuity.clist" %% "clist-core" % "3.2.2",
"org.backuity.clist" %% "clist-macros" % "3.2.2" % "provided",
"com.typesafe.akka" %% "akka-stream" % "2.5.9",
"org.scala-lang.modules" %% "scala-xml" % "1.0.6",
"io.scigraph" % "scigraph-core" % "2.2-SNAPSHOT",
"io.scigraph" % "scigraph-entity" % "2.2-SNAPSHOT",
"org.codehaus.groovy" % "groovy-all" % "2.4.6",
"org.apache.jena" % "apache-jena-libs" % "3.13.1",
// fs2 streams
"co.fs2" %% "fs2-core" % "2.4.4", // For cats 2 and cats-effect 2
"co.fs2" %% "fs2-io" % "2.4.4",
"co.fs2" %% "fs2-reactive-streams" % "2.4.4",
// Testing
"com.lihaoyi" %% "utest" % "0.7.1" % "test",
// Logging
"com.typesafe.scala-logging" %% "scala-logging" % "3.7.1",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"com.outr" %% "scribe" % "2.7.3",
// Command line argument parsing.
"org.rogach" %% "scallop" % "3.3.2",
// JSON parsing.
"io.circe" %% "circe-core" % "0.13.0",
"io.circe" %% "circe-generic" % "0.13.0",
"io.circe" %% "circe-parser" % "0.13.0",
// CSV parsing.
"com.github.tototoshi" %% "scala-csv" % "1.3.6"
)
}