-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
executable file
·28 lines (24 loc) · 1.02 KB
/
Copy pathbuild.sbt
File metadata and controls
executable file
·28 lines (24 loc) · 1.02 KB
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
// description
organization := "fr.marouni"
name := "spark-yarn-miner"
version := "0.1.0-SNAPSHOT"
// scala
scalaVersion := "2.11.11"
val scalaStringVersion = scalaVersion.toString
// dependencies
libraryDependencies += "org.apache.spark" %% "spark-core" % "2.2.1"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.2.1"
libraryDependencies += "org.apache.spark" %% "spark-streaming" % "2.2.1"
libraryDependencies += "org.apache.spark" %% "spark-mllib" % "2.2.1"
libraryDependencies += "org.apache.spark" %% "spark-hive" % "2.2.1"
// test dependencies
libraryDependencies += "org.specs2" %% "specs2-core" % "4.0.0" % "test"
scalacOptions in Test ++= Seq("-Yrangepos")
// Scalariform settings
import scalariform.formatter.preferences._
scalariformPreferences := scalariformPreferences.value
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(DoubleIndentConstructorArguments, true)
.setPreference(DanglingCloseParenthesis, Preserve)
scalariformAutoformat := true
scalariformWithBaseDirectory := true