This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
50 lines (46 loc) · 1.52 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
name := "micrometer-scala-root"
scalafmtOnCompile in ThisBuild := true
lazy val micrometerScala = (project in file("micrometer-scala"))
.settings(
Seq(
name := "micrometer-scala",
libraryDependencies ++= Seq(
CommonDeps.scalaCollectionCompat,
CommonDeps.scalaJava8Compat,
CommonDeps.micrometerCore % Provided,
CommonDeps.micrometerOpenTSDB % Provided,
CommonDeps.micrometerPrometheus % Provided,
CommonDeps.micrometerJvmExtras % Provided,
CommonDeps.pureconfigCore,
CommonDeps.scalaLogging % Test,
CommonDeps.logback % Test,
CommonDeps.scalaTest % Test
)
)
)
.settings(CommonSettings.defaultProjectSettings)
lazy val demoApp = (project in file("demo-app"))
.dependsOn(micrometerScala)
.settings(
Seq(
//fork in run := true,
libraryDependencies ++= Seq(
CommonDeps.logback,
CommonDeps.scalaLogging,
CommonDeps.micrometerCore,
CommonDeps.micrometerJvmExtras,
CommonDeps.micrometerOpenTSDB,
CommonDeps.micrometerPrometheus,
CommonDeps.okHttp,
CommonDeps.scalaTest % Test //,
//"io.dropwizard.metrics" % "metrics-core" % "4.0.6" % Test
)
)
)
.settings(CommonSettings.defaultProjectSettings)
.settings(publish := {}, publishLocal := {})
lazy val root =
(project in file("."))
.aggregate(micrometerScala, demoApp)
.settings(CommonSettings.defaultProjectSettings)
.settings(publish := {}, publishLocal := {})