forked from broadinstitute/gdr-ingest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
76 lines (73 loc) · 2.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
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
inThisBuild(
Seq(
organization := "org.broadinstitute",
scalaVersion := "2.12.7",
scalafmtConfig := Some((baseDirectory in ThisBuild)(_ / ".scalafmt.conf").value),
scalafmtOnCompile := true,
scalacOptions ++= Seq(
"-deprecation",
"-encoding",
"UTF-8",
"-explaintypes",
"-feature",
"-target:jvm-1.8",
"-unchecked",
"-Xcheckinit",
"-Xfatal-warnings",
"-Xfuture",
"-Xlint",
"-Xmax-classfile-name",
"200",
"-Yno-adapted-args",
"-Ypartial-unification",
"-Ywarn-dead-code",
"-Ywarn-extra-implicit",
"-Ywarn-inaccessible",
"-Ywarn-infer-any",
"-Ywarn-nullary-override",
"-Ywarn-nullary-unit",
"-Ywarn-numeric-widen",
"-Ywarn-unused",
"-Ywarn-value-discard"
)
)
)
val betterFilesVersion = "3.6.0"
val betterMonadicForVersion = "0.2.4"
val circeVersion = "0.9.3"
val circeDerivationVersion = "0.9.0-M5"
val circeFs2Version = "0.9.0"
val commonsCodecVersion = "1.11"
val declineVersion = "0.5.0"
val fs2Version = "0.10.5"
val http4sVersion = "0.18.17"
val logbackVersion = "1.2.3"
lazy val `gdr-ingest` = project
.in(file("."))
.aggregate(`encode-ingest`)
lazy val `encode-ingest` = project
.settings(
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % betterMonadicForVersion),
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % logbackVersion,
"co.fs2" %% "fs2-io" % fs2Version,
"com.github.pathikrit" %% "better-files" % betterFilesVersion,
"com.monovore" %% "decline" % declineVersion,
"commons-codec" % "commons-codec" % commonsCodecVersion,
"io.circe" %% "circe-derivation" % circeDerivationVersion % Provided,
"io.circe" %% "circe-fs2" % circeFs2Version,
"io.circe" %% "circe-literal" % circeVersion,
"org.http4s" %% "http4s-blaze-client" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion
),
dependencyOverrides ++= Seq(
"co.fs2" %% "fs2-core" % fs2Version,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion
),
scalacOptions in (Compile, console) --= Seq(
"-Xfatal-warnings",
"-Xlint",
"-Ywarn-unused"
)
)