-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.sbt
41 lines (29 loc) · 946 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
30
31
32
33
34
35
36
37
38
39
40
// Module name
name := "MCL_spark"
// Package name
spName := "joandre/MCL_spark"
// Version
version := "1.0.0"
// License
licenses += "MIT" -> url("http://opensource.org/licenses/MIT")
// Scala version
scalaVersion := "2.11.8"
// Specify which versions of scala are allowed
crossScalaVersions := Seq("2.10.5", "2.11.8")
//Spark version
sparkVersion := "2.1.1"
// Spark dependencies
sparkComponents ++= Seq(
"core", "sql", "mllib", "graphx", "hive"
)
// External libraries dependencies
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"com.holdenkarau" %% "spark-testing-base" % "2.1.1_0.7.4"
)
// Credentials for spark package
credentials += Credentials(Path.userHome / ".ivy2" / ".sbtcredentials")
// Specify multiple scala versions are published in package release
spAppendScalaVersion := true
// Disable UnitTest parallel executions for spark testing package
parallelExecution in Test := false