forked from aws-samples/amazon-eks-apache-spark-etl-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
28 lines (23 loc) · 1.16 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
name := "spark-on-eks"
version := "v1.0"
scalaVersion := "2.11.12"
// additional librairies
libraryDependencies ++= {
Seq(
"org.apache.spark" %% "spark-core" % "2.4.4" % "provided",
"org.apache.spark" %% "spark-sql" % "2.4.4" % "provided",
"org.apache.hadoop" % "hadoop-aws" % "2.7.1",
"com.amazonaws" % "aws-java-sdk" % "1.7.4",
"org.scalactic" %% "scalactic" % "3.0.7",
"org.scalatest" %% "scalatest" % "3.0.7" % Test
)
}
assemblyShadeRules in assembly := Seq(
ShadeRule.rename("org.apache.commons.beanutils.**" -> "shaded-commons.beanutils.@1").inLibrary("commons-beanutils" % "commons-beanutils-core" % "1.8.0"),
ShadeRule.rename("org.apache.commons.collections.**" -> "shaded-commons.collections.@1").inLibrary("commons-beanutils" % "commons-beanutils-core" % "1.8.0"),
ShadeRule.rename("org.apache.commons.collections.**" -> "shaded-commons2.collections.@1").inLibrary("commons-beanutils" % "commons-beanutils" % "1.7.0"),
)
// testing configuration for Spark-testing-base package
fork in Test := true
javaOptions ++= Seq("-Xms512M", "-Xmx2048M", "-XX:MaxPermSize=2048M", "-XX:+CMSClassUnloadingEnabled")
parallelExecution in Test := false