-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
26 lines (22 loc) · 921 Bytes
/
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
import sbt._
// Without this we have a dependency conflict in repl subproject
ThisBuild / libraryDependencySchemes += "com.github.luben" % "zstd-jni" % VersionScheme.Always
lazy val root: Project = project
.in(file("."))
.settings(BuildSettings.commonSettings)
.settings(BuildSettings.macroSettings)
.settings(BuildSettings.appSettings)
.enablePlugins(JavaAppPackaging, SnowplowDockerPlugin)
lazy val distroless: Project = project
.in(file("distroless"))
.settings(sourceDirectory := (root / sourceDirectory).value)
.settings(BuildSettings.commonSettings)
.settings(BuildSettings.macroSettings)
.settings(BuildSettings.appSettings)
.enablePlugins(JavaAppPackaging, SnowplowDistrolessDockerPlugin)
lazy val repl: Project = project
.in(file(".repl"))
.settings(BuildSettings.commonSettings)
.settings(BuildSettings.macroSettings)
.settings(BuildSettings.replSettings)
.dependsOn(root)