-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathbuild.sbt
51 lines (41 loc) · 1.6 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
49
50
51
name := "spark-json-schema"
version in ThisBuild := "0.6.3"
organization := "org.zalando"
scalaVersion := "2.12.10"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "3.0.1" % Provided
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.9.1"
libraryDependencies += "com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.11.2"
dependencyOverrides ++= Set("com.fasterxml.jackson.core" % "jackson-databind" % "2.11.2")
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"
scapegoatVersion := "1.3.0"
scapegoatIgnoredFiles := Seq(s"${target.value}.*.scala")
licenses += ("MIT", url("http://opensource.org/licenses/MIT"))
//pom extra info
publishMavenStyle := true
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")
}
publishArtifact in Test := false
pomExtra := (
<scm>
<url>git@github.com:zalando-incubator/spark-json-schema.git</url>
<developerConnection>scm:git:git@github.com:zalando-incubator/spark-json-schema.git</developerConnection>
<connection>scm:git:https://github.com/zalando-incubator/spark-json-schema.git</connection>
</scm>
<developers>
<developer>
<name>Henning-Ulrich Esser</name>
<email>henning-ulrich.esser@zalando.de</email>
<url>https://github.com/zalando</url>
</developer>
<developer>
<name>Patrick Baier</name>
<email>patrick.baier@zalando.de</email>
<url>https://github.com/zalando</url>
</developer>
</developers>
)