-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
44 lines (42 loc) · 1.21 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
import Dependencies._
ThisBuild / scalaVersion := "2.13.15"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "uk.gov.nationalarchives"
ThisBuild / organizationName := "nationalarchives"
lazy val root = (project in file("."))
.settings(
name := "tdr-keycloak-user-management",
libraryDependencies ++= Seq(
awsSsm,
kmsUtils,
decoderUtils,
s3Utils,
catsEffect,
keycloakCore,
csvParser,
keycloakAdminClient,
kmsUtils,
pureConfig,
pureConfigCatsEffect,
scalaTest % Test,
slf4j,
wiremock % Test,
circeExtras % Test
),
Test / fork := true,
Test / javaOptions += s"-Dconfig.file=${sourceDirectory.value}/test/resources/application.conf",
assembly / assemblyJarName := "keycloak-user-management.jar",
Test / parallelExecution := false,
assembly / assemblyMergeStrategy := {
case PathList("META-INF", xs@_*) =>
xs map {
_.toLowerCase
} match {
case "services" :: _ =>
MergeStrategy.filterDistinctLines
case _ => MergeStrategy.discard
}
case "reference.conf" => MergeStrategy.concat
case _ => MergeStrategy.first
}
)