forked from mrpowers-io/spark-daria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
40 lines (27 loc) · 1.5 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
scalafmtOnCompile in Compile := true
organization := "com.github.mrpowers"
name := "spark-daria"
version := "1.2.3"
crossScalaVersions := Seq("2.12.15", "2.13.8")
scalaVersion := "2.12.15"
//scalaVersion := "2.13.8"
val sparkVersion = "3.2.1"
libraryDependencies += "org.apache.spark" %% "spark-sql" % sparkVersion % "provided"
libraryDependencies += "org.apache.spark" %% "spark-mllib" % sparkVersion % "provided"
libraryDependencies += "com.github.mrpowers" %% "spark-fast-tests" % "1.1.0" % "test"
libraryDependencies += "com.lihaoyi" %% "utest" % "0.7.11" % "test"
libraryDependencies += "com.lihaoyi" %% "os-lib" % "0.8.0" % "test"
testFrameworks += new TestFramework("com.github.mrpowers.spark.daria.CustomFramework")
credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credentials")
fork in Test := true
javaOptions ++= Seq("-Xms512M", "-Xmx2048M", "-XX:+CMSClassUnloadingEnabled", "-Duser.timezone=GMT")
licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT"))
homepage := Some(url("https://github.com/MrPowers/spark-daria"))
developers ++= List(
Developer("MrPowers", "Matthew Powers", "@MrPowers", url("https://github.com/MrPowers"))
)
scmInfo := Some(ScmInfo(url("https://github.com/MrPowers/spark-daria"), "[email protected]:MrPowers/spark-daria.git"))
updateOptions := updateOptions.value.withLatestSnapshots(false)
publishMavenStyle := true
publishTo := sonatypePublishToBundle.value
Global / useGpgPinentry := true