forked from godatadriven/balancing-heroes-and-pokemon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
45 lines (29 loc) · 1.31 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
resolvers in ThisBuild ++= Seq("Apache Development Snapshot Repository" at "https://repository.apache.org/content/repositories/snapshots/",
Resolver.mavenLocal)
name := "Balancing heroes and pokemon"
version := "0.1-SNAPSHOT"
organization := "com.godatadriven"
scalaVersion in ThisBuild := "2.11.11"
val flinkVersion = "1.3.2"
val flinkDependencies = Seq(
"org.apache.flink" %% "flink-scala" % flinkVersion % "provided",
"org.apache.flink" %% "flink-streaming-scala" % flinkVersion % "provided",
"org.json4s" %% "json4s-native" % "3.5.2",
"org.json4s" %% "json4s-jackson" % "3.5.2",
"ch.qos.logback" % "logback-classic" % "1.0.13",
"org.scalanlp" %% "breeze" % "0.13.1",
"org.scalaj" %% "scalaj-http" % "2.3.0",
"org.scalactic" %% "scalactic" % "3.0.1",
"org.scalatest" %% "scalatest" % "3.0.1" % "test"
)
lazy val root = (project in file(".")).
settings(
libraryDependencies ++= flinkDependencies
)
// make run command include the provided dependencies
run in Compile <<= Defaults.runTask(fullClasspath in Compile, mainClass in(Compile, run), runner in(Compile, run))
// exclude Scala library from assembly
assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false)
// Assembly configurations
Keys.test in assembly := {}
assemblyJarName in assembly := "tru-scale.jar"