-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
48 lines (35 loc) · 1.44 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
41
42
43
44
45
46
47
48
organization := "com.github.mrpowers"
name := "bebe"
version := "0.1.0"
scalaVersion := "2.12.12"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "3.1.1" % "provided"
libraryDependencies += "com.github.mrpowers" %% "spark-daria" % "1.0.0" % "test"
libraryDependencies += "com.github.mrpowers" %% "spark-fast-tests" % "1.0.0" % "test"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"
// scaladoc settings
Compile / doc / scalacOptions ++= Seq("-groups")
// test suite settings
fork in Test := true
javaOptions ++= Seq(
"-Xms512M",
"-Xmx2048M",
"-XX:MaxPermSize=2048M",
"-XX:+CMSClassUnloadingEnabled"
)
// Show runtime of tests
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oD")
credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credentials")
fork in Test := true
licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT"))
homepage := Some(url("https://github.com/MrPowers/bebe"))
developers ++= List(
Developer("MrPowers", "Matthew Powers", "@MrPowers", url("https://github.com/MrPowers")),
Developer("AlfonsoRR", "Alfonso Roa", "@saco_pepe", url("https://github.com/alfonsorr"))
)
scmInfo := Some(
ScmInfo(url("https://github.com/MrPowers/bebe"), "[email protected]:MrPowers/bebe.git")
)
updateOptions := updateOptions.value.withLatestSnapshots(false)
publishMavenStyle := true
publishTo := sonatypePublishToBundle.value
Global / useGpgPinentry := true