-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
44 lines (33 loc) · 1.08 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
name := "kafka-librato-monitor"
organization := "mix.kafka"
scalaVersion := "2.10.3"
// Dependencies
libraryDependencies ++= Seq(
"com.github.ben-manes.caffeine" % "caffeine" % "1.0.0",
"com.quantifind" %% "kafkaoffsetmonitor" % "0.3.0-SNAPSHOT",
"com.librato.metrics" % "metrics-librato" % "5.0.5",
"org.scalatest" %% "scalatest" % "3.0.1" % "test"
)
// To remove multiple exclusions
excludeDependencies ++= Seq(
ExclusionRule("com.google.code.findbugs", "annotations")
)
// use mix log4j.properties
assemblyMergeStrategy in assembly := {
case "log4j.properties" => MergeStrategy.first
case x => MergeStrategy.defaultMergeStrategy.apply(x)
}
// javac & scalac options
javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")
scalacOptions := Seq("-deprecation",
"-unchecked",
"-feature",
"-Yresolve-term-conflict:package",
"-language:postfixOps",
"-language:implicitConversions"
)
//assembly Settings
test in assembly := {}
// set Ivy logging to be at the highest level, if needed for debugging
ivyLoggingLevel := UpdateLogging.Quiet
logLevel := Level.Info