-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.sbt
46 lines (33 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
36
37
38
39
40
41
42
43
44
45
name := "ibclient"
enablePlugins(PackPlugin)
version := "0.2.2-SNAPSHOT"
organization := "com.larroy"
scalaVersion := "2.12.8"
scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "-encoding", "utf8")
libraryDependencies ++= {
Seq(
"org.specs2" %% "specs2-core" % "4.+" % "test",
"org.specs2" %% "specs2-junit" % "4.+" % "test",
"com.github.scopt" %% "scopt" % "4.0.0-RC2",
"ch.qos.logback" % "logback-classic" % "1.1.+",
"org.slf4j" % "jcl-over-slf4j" % "1.7.+",
"com.github.tototoshi" %% "scala-csv" % "1.+",
"com.typesafe" % "config" % "1.3.+",
"com.iheart" %% "ficus" % "+",
"io.reactivex" %% "rxscala" % "0.26.+",
"com.google.guava" % "guava" % "18.0",
"joda-time" % "joda-time" % "2.9.1",
"org.joda" % "joda-convert" % "1.2",
"org.scala-lang" % "scala-reflect" % scalaVersion.value
)
}
resolvers += Resolver.sonatypeRepo("public")
testOptions in Test += Tests.Argument(TestFrameworks.Specs2, "console", "junitxml")
parallelExecution in Test := false
test in assembly := {}
val exclude = Set("ApiConnection.java", "ApiController.java")
sources in (Compile, doc) ~= ((old: Seq[File]) => {
old.filter{ x: sbt.File =>
println(x.getName)
! exclude.contains(x.getName)
}})