-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
54 lines (49 loc) · 1.53 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
import sbt.Keys.{javacOptions, scalaVersion}
val componentVersion = "1.0.0"
organization := "org.dmonix"
version := componentVersion
name := "thread-starvation-detector"
publishArtifact := false
publishArtifact in (Compile, packageBin) := false
publishArtifact in (Compile, packageDoc) := false
publishArtifact in (Compile, packageSrc) := false
val baseSettings = Seq(
organization := "org.dmonix",
version := componentVersion,
scalaVersion := "2.13.4",
crossScalaVersions := Seq("2.11.12", "2.12.12", "2.13.4"),
scalacOptions := Seq("-feature",
"-language:postfixOps",
"-language:implicitConversions",
"-unchecked",
"-deprecation",
"-encoding", "utf8"),
libraryDependencies ++= Seq(
`slf4j-api`,
`typesafe-config`,
`specs2-core` % "test",
`specs2-mock` % "test",
`specs2-junit` % "test",
`specs2-matcher-extra` % "test",
`logback-classic` % "test"
)
)
// ======================================================
// The "main" project/library
// ======================================================
lazy val lib = (project in file("lib"))
.settings(baseSettings)
.settings(
name := "thread-starvation-detector"
)
// ======================================================
// Kamon reporter
// ======================================================
lazy val kamon = (project in file("kamon-reporter"))
.settings(baseSettings)
.settings(
name := "thread-starvation-detector-kamon-reporter",
libraryDependencies ++= Seq(
`kamon-core` % "provided"
)
).dependsOn(lib)