-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
36 lines (28 loc) · 1.11 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
val sparkVersion = sys.env.get("SPARK_VERSION").getOrElse("3.1.2")
lazy val root = (project in file("."))
.settings(
name := "Spark-INFFC",
organization := "com.github.salvacorts",
version := "0.0.1",
scalaVersion := "2.12.14",
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-sql" % sparkVersion % "provided",
"org.apache.spark" %% "spark-mllib" % sparkVersion % "provided",
"com.github.salvacorts" %% "spark-knn" % "0.3.1",
"org.scalatest" %% "scalatest" % "3.2.9" % "test",
)
)
lazy val examples = (project in file("examples"))
.settings(
name := "Spark_INFFC_Examples",
organization := "com.github.salvacorts",
version := "0.0.1",
scalaVersion := "2.12.14",
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-sql" % sparkVersion % "provided",
"org.apache.spark" %% "spark-mllib" % sparkVersion % "provided",
"com.github.salvacorts" %% "spark-knn" % "0.3.1"
)
)
.dependsOn(root)
parallelExecution in Test := false