-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
39 lines (28 loc) · 1.67 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
32
33
34
35
36
37
38
scalaVersion := "2.11.8"
scalacOptions ++= Seq("-deprecation")
resolvers += Resolver.sonatypeRepo("releases")
resolvers += "jitpack" at "https://jitpack.io"
// The following doesn't work, added JDBC jar manually to "lib" folder
// See: http://docs.aws.amazon.com/redshift/latest/mgmt/configure-jdbc-connection-with-maven.html
//resolvers +=
// "redshift" at "http://redshift-maven-repository.s3-website-us-east-1.amazonaws.com/release"
// grading libraries
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.1.0",
"org.apache.spark" %% "spark-sql" % "2.1.0"
)
libraryDependencies += "com.databricks" %% "spark-xml" % "0.4.1"
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.0.6"
// https://mvnrepository.com/artifact/com.databricks/spark-redshift_2.11
libraryDependencies += "com.databricks" % "spark-redshift_2.11" % "2.0.1"
// https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-s3
libraryDependencies += "com.amazonaws" % "aws-java-sdk-s3" % "1.11.213"
// Temporary fix for: https://github.com/databricks/spark-redshift/issues/315
dependencyOverrides += "com.databricks" % "spark-avro_2.11" % "3.2.0"
libraryDependencies += "mysql" % "mysql-connector-java" % "5.1.44"
libraryDependencies += "junit" % "junit" % "4.10" % "test"
libraryDependencies += "com.github.alexarchambault" %% "scalacheck-shapeless_1.13" % "1.1.6"
libraryDependencies += "com.fortysevendeg" % "scalacheck-datetime_2.11" % "0.2.0"
// https://mvnrepository.com/artifact/com.danielasfregola/random-data-generator_2.11
libraryDependencies += "com.danielasfregola" % "random-data-generator_2.11" % "2.1"
libraryDependencies += "com.github.nscala-time" %% "nscala-time" % "1.8.0"