-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
40 lines (33 loc) · 1.56 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
39
40
/**
* Copyright (C) 2020 Christophe Botek or Sparkles contributors.
* See the LICENCE.txt file distributed with this work for additional
* information regarding copyright ownership.
*/
organization in ThisBuild := "ca.botekchristophe"
scalaVersion in ThisBuild := "2.12.11"
scalacOptions ++= Seq("-deprecation")
scalacOptions += "-Ypartial-unification"
val sparkVersion = "3.0.1"
val deltaCoreVersion = "0.7.0"
val testNgVersion = "6.14.3"
val typesafeVersion = "1.2.1"
val catsVersion = "2.0.0"
val providedLibrairies = Seq(
"org.apache.spark" %% "spark-core" % sparkVersion,
"org.apache.spark" %% "spark-sql" % sparkVersion,
"io.delta" %% "delta-core" % deltaCoreVersion,
"com.typesafe" % "config" % typesafeVersion
)
lazy val root = (project in file("."))
.settings(name := "sparkles")
.aggregate(`sparkles-core`)
lazy val `sparkles-core` = (project in file("sparkles-core"))
.settings(libraryDependencies += "org.apache.spark" %% "spark-core" % sparkVersion)
.settings(libraryDependencies += "org.apache.spark" %% "spark-sql" % sparkVersion)
.settings(libraryDependencies += "io.delta" %% "delta-core" % deltaCoreVersion)
.settings(libraryDependencies += "com.typesafe" % "config" % typesafeVersion)
.settings(libraryDependencies += "org.typelevel" %% "cats-core" % catsVersion)
.settings(libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.0" % Test)
.settings(libraryDependencies += "io.projectglow" %% "glow-spark3"% "0.6.0")
.settings(version := "0.0.1")
.settings(coverageMinimum := 90)