forked from sdkman/sdkman-hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
36 lines (24 loc) · 906 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 com.typesafe.config.ConfigFactory
enablePlugins(JavaServerAppPackaging)
enablePlugins(DockerPlugin)
name := """sdkman-hooks"""
val conf = ConfigFactory.parseFile(new File("conf/application.conf")).resolve()
version := conf.getString("application.version")
packageName in Docker := "sdkman/sdkman-hooks"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.11.8"
routesGenerator := InjectedRoutesGenerator
resolvers ++= Seq(
Resolver.bintrayRepo("sdkman", "maven"),
Resolver.jcenterRepo
)
libraryDependencies ++= Seq(
cache,
ws,
"io.sdkman" %% "sdkman-mongodb-persistence" % "0.11",
"org.scalatest" %% "scalatest" % "3.0.0" % Test,
"info.cukes" %% "cucumber-scala" % "1.2.5" % Test,
"info.cukes" % "cucumber-junit" % "1.2.5" % Test,
"org.scalaj" %% "scalaj-http" % "2.3.0" % Test,
"com.github.tomakehurst" % "wiremock" % "2.2.2" % Test
)