forked from diana-hep/spark-root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
66 lines (49 loc) · 1.65 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name := "spark-root"
organization := "org.diana-hep"
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
version := "0.1.18"
//isSnapshot := true
scalaVersion := "2.11.8"
crossScalaVersions := Seq("2.10.6", "2.11.8")
// spark
spIgnoreProvided := true
sparkVersion := "2.4.3"
sparkComponents := Seq("sql")
resolvers += Resolver.mavenLocal
libraryDependencies += "org.diana-hep" % "root4j" % "0.1.7"
// publishing to Maven
publishMavenStyle := true
// repos to push to
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")
}
//credentials += Credentials(Path.userHome / ".sbt" / ".sonaytype_credentials")
// not to publish your test artifacts
publishArtifact in Test := false
// include the log4j
libraryDependencies += "org.apache.logging.log4j" % "log4j" % "2.8"
// scalatest
libraryDependencies += "org.scalatest" % "scalatest_2.11" % "3.0.1" % "test"
pomExtra := (
<url>https://github.com/diana-hep/spark-root</url>
<scm>
<url>[email protected]:diana-hep/spark-root.git</url>
<connection>scm:git:[email protected]:diana-hep/spark-root.git</connection>
</scm>
<developers>
<developer>
<name>Jim Pivarski</name>
<email>[email protected]</email>
<organization>DIANA-HEP</organization>
<organizationUrl>http://diana-hep.org</organizationUrl>
</developer>
<developer>
<id>vkhristenko</id>
<name>Viktor Khristenko</name>
<url>https://github.com/diana-hep/spark-root</url>
</developer>
</developers>)