-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
36 lines (32 loc) · 960 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
27
28
29
30
31
32
33
34
35
36
import Dependencies._
import sbt.Keys.fork
ThisBuild / scalaVersion := "2.13.16"
ThisBuild / version := "0.1.0"
ThisBuild / organization := "uk.gov.nationalarchives"
ThisBuild / organizationName := "api-update"
libraryDependencies ++= Seq(
awsSsm,
backendCheckUtils,
circeCore,
circeGeneric,
circeParser,
generatedGraphql,
graphqlClient,
authUtils,
typesafe,
scalaLogging,
logback,
logstashLogbackEncoder,
mockito % Test,
wiremockStandalone % Test,
scalaTest % Test,
keycloakMock % Test
)
(Test / fork) := true
(Test / javaOptions) += s"-Dconfig.file=${sourceDirectory.value}/test/resources/application.conf"
(Test / envVars) := Map("AWS_ACCESS_KEY_ID" -> "test", "AWS_SECRET_ACCESS_KEY" -> "test", "S3_ENDPOINT" -> "http://localhost:9005")
(assembly / assemblyMergeStrategy) := {
case PathList("META-INF", xs@_*) => MergeStrategy.discard
case _ => MergeStrategy.first
}
(assembly / assemblyJarName) := "api-update.jar"