-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
31 lines (18 loc) · 866 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
import com.typesafe.sbt.packager.archetypes.ServerLoader
import com.typesafe.sbt.packager.archetypes.TemplateWriter
name := "geonosis"
version := "0.1"
serverLoading in Debian := ServerLoader.SystemV
maintainer := "David Rousselie <[email protected]>"
packageSummary := "A daemon to synchronize Zookeeper to the file system"
packageDescription := "Synchronize Zookeeper nodes to the file system"
daemonUser in Linux := normalizedName.value
daemonGroup in Linux := normalizedName.value
debianPackageDependencies in Debian ++= Seq("java6-runtime")
version in Debian := "0.1-" + (System.currentTimeMillis / 1000)
mappings in Universal <+= (packageBin in Compile, sourceDirectory ) map { (_, src) =>
val conf = src / "main" / "resources" / "application.conf"
conf -> "conf/application.conf"
}
Seq(lsSettings :_*)
enablePlugins(JavaServerAppPackaging)