-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
48 lines (46 loc) · 1.35 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
lazy val sjq = project.settings(
crossScalaVersions := Seq("2.10.5", "2.11.5"),
organization := "com.magicsoho",
name := "spark-jq",
isSnapshot := false,
publishMavenStyle := true,
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "1.6.1",
"com.chuusai" %% "shapeless" % "2.3.0",
"org.scalatest" %% "scalatest" % "2.2.6",
"com.alibaba" % "fastjson" % "1.2.5"),
version := {
if (isSnapshot.value)
"0.1-SNAPSHOT"
else
"0.1.1"
},
publishTo := {
val nexus = "https://oss.sonatype.org"
println("VERSION " + version.value)
if (isSnapshot.value)
Some("snapshots" at nexus + "/content/repositories/snapshots")
else
Some("releases" at nexus + "/service/local/staging/deploy/maven2")
},
pomExtra :=
<url>http://magicsoho.com/projects/spark-jq</url>
<licenses>
<license>
<name>MIT</name>
<url>http://raw.githubusercontent.com/yuhai1023/spark-jq/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:yuhai1023/spark-jq.git</url>
<connection>scm:git:[email protected]:yuhai1023/spark-jq.git</connection>
</scm>
<developers>
<developer>
<id>Hai</id>
<name>Hai Yu</name>
<url>http://about.me/yuhai</url>
</developer>
</developers>
)