forked from tripl-ai/arc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dependencies.scala
45 lines (39 loc) · 1.38 KB
/
Dependencies.scala
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
41
42
43
44
45
import sbt._
object Dependencies {
// versions
lazy val sparkVersion = "2.4.4"
lazy val hadoopVersion = "2.9.2"
// arc
val typesafeConfig = "com.typesafe" % "config" % "1.3.1"
// testing
val scalaTest = "org.scalatest" %% "scalatest" % "3.0.7" % "test,it"
val jetty = "org.mortbay.jetty" % "jetty" % "6.1.26" % "test,it"
val postgresJDBC = "org.postgresql" % "postgresql" % "42.2.5" % "test,it"
val hadoopCommon = "org.apache.hadoop" % "hadoop-common" % hadoopVersion % "it"
val hadoopAWS = "org.apache.hadoop" % "hadoop-aws" % hadoopVersion % "it"
val sqlServerJDBC = "com.microsoft.sqlserver" % "mssql-jdbc" % "7.2.1.jre8" % "it"
// spark
val sparkCore = "org.apache.spark" %% "spark-core" % sparkVersion % "provided"
val sparkSql = "org.apache.spark" %% "spark-sql" % sparkVersion % "provided"
val sparkHive = "org.apache.spark" %% "spark-hive" % sparkVersion % "provided"
val sparkMl = "org.apache.spark" %% "spark-mllib" % sparkVersion % "provided"
val sparkAvro = "org.apache.spark" %% "spark-avro" % sparkVersion % "provided"
// spark XML
val sparkXML = "com.databricks" %% "spark-xml" % "0.5.0" intransitive()
// Project
val etlDeps = Seq(
typesafeConfig,
scalaTest,
jetty,
hadoopCommon,
hadoopAWS,
postgresJDBC,
sqlServerJDBC,
sparkCore,
sparkSql,
sparkHive,
sparkMl,
sparkAvro,
sparkXML
)
}