-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
39 lines (30 loc) · 939 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
37
import PlayKeys._
name := "s3-uploader"
version := "1.0"
scalaVersion := "2.13.14"
scalacOptions := Seq(
"-unchecked",
"-deprecation",
"-feature",
"-Xfatal-warnings"
)
libraryDependencies ++= Seq(
ws, filters,
"com.amazonaws" % "aws-java-sdk-s3" % "1.12.761",
"com.gu" %% "pan-domain-auth-verification" % "7.0.0",
"com.gu" %% "editorial-permissions-client" % "3.0.0"
)
resolvers ++= Resolver.sonatypeOssRepos("releases")
lazy val root = (project in file("."))
.enablePlugins(PlayScala, JDebPackaging, SystemdPlugin)
.settings(
playDefaultPort := 9050,
pipelineStages := Seq(digest, gzip),
debianPackageDependencies := Seq("java11-runtime-headless"),
maintainer := "Editorial Tools <[email protected]>",
packageSummary := "S3 Uploader",
packageDescription := """Allow uploading images to S3""",
Universal / javaOptions ++= Seq(
"-Dpidfile.path=/dev/null"
)
)