-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
21 lines (20 loc) · 771 Bytes
/
build.sbt
File metadata and controls
21 lines (20 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name := "Spark-PageRank"
scalaVersion := "2.11.11"
lazy val commonSettings = Seq(
organization := "MohammedSiddiq.HW5",
version := "0.1.0"
)
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
lazy val app = (project in file(".")).
settings(commonSettings: _*).
settings(
name := "PageRankSpark"
).
enablePlugins(AssemblyPlugin)
libraryDependencies ++= Seq("org.slf4j" % "slf4j-api" % "1.7.5",
"org.slf4j" % "slf4j-simple" % "1.7.5", "com.typesafe" % "config" % "1.3.2",
"org.apache.spark" %% "spark-core" % "2.4.0", "org.apache.spark" %% "spark-sql" % "2.4.0", "org.scalatest" %% "scalatest" % "3.0.5" % "test")
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs@_*) => MergeStrategy.discard
case x => MergeStrategy.first
}