-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
35 lines (27 loc) · 1023 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
import Dependencies._
name := "restorer2"
version := "1.0.0"
ThisBuild / scalaVersion := "2.13.12"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")
val awsVersion = "2.17.276"
val awsVersionV1 = "1.12.307"
libraryDependencies ++= dependencies
lazy val mainProject = project.in(file("."))
.enablePlugins(PlayScala, JDebPackaging, SystemdPlugin)
.settings(
Universal / javaOptions ++= Seq(
"-Dpidfile.path=/dev/null"
)
)
.settings(Defaults.coreDefaultSettings: _*)
.settings(
routesGenerator := InjectedRoutesGenerator,
Universal / packageName := s"editorial-tools:flexible:${name.value}",
Compile / doc / sources := Seq.empty,
Compile / packageDoc / publishArtifact := false
)
Debian / serverLoading := Some(ServerLoader.Systemd)
debianPackageDependencies := Seq("java11-runtime-headless")
maintainer := "Digital CMS <[email protected]>"
packageSummary := "flexible-restorer"
packageDescription := """content restorer for flexible content"""