-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
41 lines (29 loc) · 1.27 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
import Dependencies._
name := "atom-workshop"
version := "1.0"
scalaVersion := "2.12.16"
libraryDependencies ++= dependencies
resolvers ++= Resolver.sonatypeOssRepos("snapshots")
routesGenerator := InjectedRoutesGenerator
lazy val root = (project in file(".")).enablePlugins(PlayScala, RiffRaffArtifact, JDebPackaging, SystemdPlugin)
.settings(Defaults.coreDefaultSettings: _*)
.settings(
Universal / name := normalizedName.value,
topLevelDirectory := Some(normalizedName.value),
riffRaffManifestProjectName := s"editorial-tools:${name.value}",
riffRaffUploadArtifactBucket := Option("riffraff-artifact"),
riffRaffUploadManifestBucket := Option("riffraff-builds"),
riffRaffPackageType := (Debian / packageBin).value,
debianPackageDependencies := Seq("openjdk-8-jre-headless"),
maintainer := "Editorial Tools <digitalcms.dev@guardian.co.uk>",
packageSummary := "Atom Workshop",
packageDescription := """A single place for atoms of all types""",
riffRaffArtifactResources := Seq(
(Debian / packageBin).value -> "atom-workshop/atom-workshop_1.0_all.deb",
baseDirectory.value / "riff-raff.yaml" -> "riff-raff.yaml"
),
Universal / javaOptions ++= Seq(
"-Dpidfile.path=/dev/null"
),
pipelineStages := Seq(digest)
)