-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
25 lines (16 loc) · 624 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
name := """apache-spark-2-scala-starter-template"""
version := "1.0"
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.4" % "test",
"org.apache.spark" %% "spark-core" % "2.0.0",
"org.apache.spark" %% "spark-sql" % "2.0.0",
"org.postgresql" % "postgresql" % "9.4.1209.jre7",
"log4j" % "log4j" % "1.2.17",
"org.scalatest" %% "scalatest" % "2.2.6" % Test)
javaOptions in (Test, run) ++= Seq("-Dspark.master=local",
"-Dlog4j.debug=true",
"-Dlog4j.configuration=log4j.properties")
outputStrategy := Some(StdoutOutput)
fork := true
coverageEnabled in Test:= true