-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
36 lines (27 loc) · 1.17 KB
/
build.sbt
File metadata and controls
36 lines (27 loc) · 1.17 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
29
30
31
32
33
34
35
36
name := "TP EPF"
organization := "com.github.polomarcus"
version := "1.0"
scalaVersion := "2.12.15"
mainClass / run := Some("com.github.polomarcus.main.Main")
val scalaTest = "3.2.12"
val sparkVersion = "3.2.1"
val logback = "1.2.10"
val scalaLogging = "3.9.4"
// Log
libraryDependencies += "ch.qos.logback" % "logback-classic" % logback
libraryDependencies += "org.slf4j" % "log4j-over-slf4j" % "1.7.32"
libraryDependencies += "net.logstash.logback" % "logstash-logback-encoder" % "7.0.1"
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % scalaLogging
// Test
libraryDependencies += "org.scalatest" %% "scalatest" % scalaTest % "test"
//Spark (csv writer)
libraryDependencies += ("org.apache.spark" %% "spark-core" % sparkVersion)
.exclude("log4j", "log4j")
.exclude("org.slf4j", "slf4j-log4j12")
.exclude("org.slf4j", "log4j")
libraryDependencies += ("org.apache.spark" %% "spark-sql" % sparkVersion)
.exclude("org.slf4j", "log4j")
.exclude("org.slf4j", "slf4j-log4j12")
.exclude("org.slf4j", "log4j")
dependencyOverrides += "com.fasterxml.jackson.core" % "jackson-databind" % "2.12.6.1"
libraryDependencies += "org.postgresql" % "postgresql" % "42.2.5"