-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
31 lines (23 loc) · 1.09 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
import scalapb.compiler.Version.scalapbVersion
name := "spark-ICA"
version := "0.2"
scalaVersion := "2.11.12"
PB.targets in Compile := Seq(
scalapb.gen() -> (sourceManaged in Compile).value
)
val sparkVersion = "2.4.0"
// https://mvnrepository.com/artifact/org.apache.spark/spark-core
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-sql" % sparkVersion % "provided",
"org.apache.spark" %% "spark-core" % sparkVersion % "provided",
"org.apache.spark" %% "spark-mllib" % sparkVersion % "provided",
"org.scalatest" %% "scalatest" % "3.0.5" % "test",
"com.thesamet.scalapb" %% "scalapb-runtime-grpc" % scalapbVersion,
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapbVersion % "protobuf",
"com.jcraft" % "jsch" % "0.1.53"
)
libraryDependencies += "org.scalameta" %% "scalafmt-dynamic" % "2.2.1"