-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
66 lines (56 loc) · 2.37 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name := "mobile-notifications-content"
organization := "com.gu"
description:= "lambda to replace the content-notifications-service"
version := "1.0"
scalaVersion := "2.13.15"
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-Ywarn-dead-code",
"-release:21"
)
resolvers ++= Seq(
"Guardian GitHub Releases" at "https://guardian.github.com/maven/repo-releases",
"Guardian GitHub Snapshots" at "https://guardian.github.com/maven/repo-snapshots"
)
assembly / assemblyMergeStrategy := {
case "META-INF/MANIFEST.MF" => MergeStrategy.discard
case _ => MergeStrategy.first
}
val awsSdkVersion = "1.12.777"
val awsSdk2Version = "2.29.19"
libraryDependencies ++= Seq(
"software.amazon.awssdk" % "sts" % awsSdk2Version,
"software.amazon.awssdk" % "autoscaling" % awsSdk2Version,
"software.amazon.awssdk" % "ec2" % awsSdk2Version,
"software.amazon.awssdk" % "ssm" % awsSdk2Version,
"software.amazon.kinesis" % "amazon-kinesis-client" % "3.0.1",
"com.amazonaws" % "aws-java-sdk-sts" % awsSdkVersion,
"com.amazonaws" % "aws-lambda-java-core" % "1.2.3",
"com.amazonaws" % "aws-lambda-java-events" % "3.14.0",
"com.amazonaws" % "aws-java-sdk-cloudwatch" % awsSdkVersion,
"com.amazonaws" % "aws-java-sdk-dynamodb" % awsSdkVersion,
"com.gu" %% "content-api-client-default" % "32.0.1",
"com.gu" %% "mobile-notifications-api-models" % "3.0.0",
"com.gu" %% "thrift-serializer" % "5.0.7",
"org.joda" % "joda-convert" % "3.0.1",
"org.jsoup" % "jsoup" % "1.18.2",
"org.slf4j" % "slf4j-simple" % "2.0.16",
"org.slf4j" % "slf4j-api" % "2.0.16",
"com.typesafe.akka" %% "akka-actor" % "2.5.24",
"com.squareup.okhttp3" % "okhttp" % "3.14.9",
"com.gu" %% "simple-configuration-ssm" % "4.0.1",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.18.2",
"com.squareup.okhttp3" % "okhttp" % "4.12.0",
"com.google.protobuf" % "protobuf-java" % "4.29.0",
"org.json" % "json" % "20240303",
"org.apache.commons" % "commons-compress" % "1.27.1",
"org.apache.avro" % "avro" % "1.12.0",
"org.scalatest" %% "scalatest" % "3.2.19" % Test,
"org.specs2" %% "specs2-core" % "4.20.9" % Test,
"org.specs2" %% "specs2-matcher-extra" % "4.20.9" % Test,
"org.mockito" % "mockito-core" % "5.14.2" % Test,
"org.scalatestplus" %% "mockito-5-12" % "3.2.19.0" % Test,
)
libraryDependencies += "com.github.luben" % "zstd-jni" % "1.5.5-3"
assemblyJarName := s"${name.value}.jar"