forked from ebezzi/mnist-detector-server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
32 lines (23 loc) · 843 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
name := """mnist-detector-server"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.11.11"
libraryDependencies ++= Seq(
guice,
jdbc,
ehcache,
ws,
"org.scalatestplus.play" %% "scalatestplus-play" % "1.5.1" % Test
)
libraryDependencies += "org.nd4j" % "nd4j-x86" % "0.4-rc3.8"
libraryDependencies += "org.deeplearning4j" % "dl4j-spark" % "0.4-rc3.8"
libraryDependencies += "org.nd4j" % "nd4j-api" % "0.4-rc3.8"
resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
def latestScalafmt = "1.1.0"
commands += Command.args("scalafmt", "Run scalafmt cli.") {
case (state, args) =>
val Right(scalafmt) =
org.scalafmt.bootstrap.ScalafmtBootstrap.fromVersion(latestScalafmt)
scalafmt.main("--non-interactive" +: args.toArray)
state
}