-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
35 lines (29 loc) · 1.06 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
name := "sparkml-som"
organization := "xyz.florentforest"
version := "0.2.1"
scalaVersion := "2.11.8"
val sparkVersion = "2.2.0"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % sparkVersion % "provided",
"org.apache.spark" %% "spark-sql" % sparkVersion % "provided",
"org.apache.spark" %% "spark-mllib" % sparkVersion % "provided",
"com.github.fommil.netlib" % "all" % "1.1.2" pomOnly()
)
// POM settings for Sonatype
organization := "xyz.florentforest"
homepage := Some(url("https://github.com/FlorentF9/sparkml-som"))
scmInfo := Some(ScmInfo(url("https://github.com/FlorentF9/sparkml-som"),
"[email protected]:FlorentF9/sparkml-som.git"))
developers := List(Developer("FlorentF9",
"Florent Forest",
url("http://florentfo.rest")))
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
publishMavenStyle := true
// Add sonatype repository settings
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)