-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
29 lines (24 loc) · 1.17 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
name := "spark-test-assertions"
scalaVersion := "2.11.12"
libraryDependencies ++= dependencies.sparkDependencies.map(_ % Provided)
libraryDependencies ++= dependencies.sparkDependencies.map(_ % Test)
libraryDependencies ++= dependencies.testDependencies.map(_ % Test)
// POM settings for Sonatype
organization := "com.github.ffmmjj"
homepage := Some(url("https://github.com/ffmmjj/spark-test-assertions"))
scmInfo := Some(ScmInfo(url("https://github.com/username/spark-test-assertions"),
"git@github.com:ffmmjj/spark-test-assertions.git"))
developers := List(Developer("ffmmjj",
"Felipe",
"ffmmjj@gmail.com",
url("https://github.com/ffmmjj")))
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
publishMavenStyle := true
// Add sonatype repository settings
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
useGpg := true
updateOptions := updateOptions.value.withGigahorse(false)