-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
26 lines (20 loc) · 777 Bytes
/
Copy pathbuild.sbt
File metadata and controls
26 lines (20 loc) · 777 Bytes
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
name := "OnlineRetailPOC"
organization := "com.retailpoc"
version := "0.1"
scalaVersion := "2.12.10"
//scalaVersion := "2.11.8"
autoScalaLibrary := false
val sparkVersion = "3.0.0-preview2"
//val sparkVersion = "3.3.1"
//val sparkVersion = "2.3.1"
run / javaOptions ++= Seq("-Dlog4j.configuration=file:resource/log4j.properties","-Dlogfile.name=application","-Dspark.yarn.app.container.log.dir=var/logs/")
run / fork := true
val sparkDependencies = Seq(
"org.apache.spark" %% "spark-core" % sparkVersion,
"org.apache.spark" %% "spark-sql" % sparkVersion
)
val testDependencies = Seq(
"org.scalatest" %% "scalatest" % "3.0.8" % Test
)
libraryDependencies ++= sparkDependencies ++ testDependencies
libraryDependencies += "com.crealytics" %% "spark-excel" % "0.13.8"