-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
35 lines (29 loc) · 933 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 sbt._
import com.typesafe.sbt.packager.Keys._
import sbt.Keys._
import com.typesafe.sbt.SbtNativePackager._
import scala.Some
name := "mightycrawlerlauncher"
val versionString = "1.7"
version := versionString
libraryDependencies ++= Seq(
jdbc,
anorm,
"no.bekk.bekkopen" % "mightycrawler" % "0.12",
"mysql" % "mysql-connector-java" % "5.1.25"
)
val versionComponents = versionString.split("\\.")
play.Project.playScalaSettings ++ Seq(
name in Rpm := "mightycrawlerlauncher",
version in Rpm := versionComponents(0),
rpmRelease := versionComponents(1),
packageSummary := "Webapp for crawling sites",
rpmVendor := "Kantega",
rpmUrl := Some("http://kantega.no"),
rpmLicense := Some("Apache 2"),
packageDescription := "Crawls a site and reports status",
rpmGroup := Some("www"),
name in Debian := "mightycrawlerlauncher",
maintainer in Debian := "Kantega",
version in Debian := versionString
)