-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathbuild.sbt
29 lines (16 loc) · 797 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
name := "LearningSpark"
version := "1.0"
fork := true
// only relevant for Java sources --
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
scalaVersion := "2.11.12"
scalacOptions ++= Seq("-unchecked", "-deprecation")
libraryDependencies += "org.apache.spark" %% "spark-core" % "2.3.0"
libraryDependencies += "org.apache.spark" %% "spark-streaming" % "2.3.0"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.3.0"
libraryDependencies += "org.apache.spark" %% "spark-hive" % "2.3.0"
libraryDependencies += "org.apache.spark" %% "spark-graphx" % "2.3.0"
// needed to make the hiveql examples run at least on Linux
javaOptions in run += "-XX:MaxPermSize=128M"
scalacOptions += "-target:jvm-1.8"
// note: tested directly using sbt with -java-home pointing to a JDK 1.8