forked from TheHive-Project/Cortex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
46 lines (40 loc) · 1.15 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
41
42
43
44
45
46
import Common._
lazy val cortex = (project in file("."))
.enablePlugins(PlayScala)
.enablePlugins(Bintray)
.settings(projectSettings)
libraryDependencies ++= Seq(
Dependencies.Play.cache,
Dependencies.Play.ws,
Dependencies.Play.ahc,
Dependencies.Play.specs2 % Test,
Dependencies.Play.guice,
Dependencies.scalaGuice,
Dependencies.elastic4play,
Dependencies.reflections,
Dependencies.zip4j,
Dependencies.dockerClient
)
resolvers += Resolver.sbtPluginRepo("releases")
resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
resolvers += "elasticsearch-releases" at "https://artifacts.elastic.co/maven"
publishArtifact in (Compile, packageDoc) := false
publishArtifact in packageDoc := false
sources in (Compile,doc) := Seq.empty
// Front-end //
mappings in packageBin in Assets ++= frontendFiles.value
packageBin := {
(packageBin in Debian).value
(packageBin in Rpm).value
(packageBin in Universal).value
}
// Bintray //
bintrayOrganization := Some("thehive-project")
bintrayRepository := "cortex"
publish := {
(publish in Docker).value
publishRelease.value
publishLatest.value
publishRpm.value
publishDebian.value
}