-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
33 lines (28 loc) · 1.25 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
/**
* Currently we have some libs that depend on circe 0.14.x and some that depend on 0.13.x.
* These reported binary incompatibilities can only be removed once we have bumped cats-effect to version 3.
* For now, we ignore the reported binary incompatibilities because testing shows it is safe.
*/
ThisBuild / libraryDependencySchemes ++= Seq(
"io.circe" %% "circe-jawn" % "always",
"io.circe" %% "circe-core" % "always",
)
lazy val allSettings = BuildSettings.projectSettings ++
BuildSettings.buildInfoSettings ++
BuildSettings.assemblySettings ++
BuildSettings.dynVerSettings ++
BuildSettings.testsSettings ++
BuildSettings.compilerSettings ++
(libraryDependencies ++= Dependencies.all)
lazy val root = project
.settings(BuildSettings.projectSettings)
.settings(BuildSettings.dynVerSettings)
.settings(BuildSettings.compilerSettings)
.aggregate(igluServer)
lazy val igluServer = (project in file("."))
.settings(allSettings)
.enablePlugins(JavaAppPackaging, BuildInfoPlugin, SnowplowDockerPlugin)
lazy val igluServerDistroless = (project in file("./distroless"))
.settings(allSettings)
.settings(sourceDirectory := (igluServer / sourceDirectory).value)
.enablePlugins(JavaAppPackaging, BuildInfoPlugin, SnowplowDistrolessDockerPlugin)