-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
54 lines (43 loc) · 1.46 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
organization := "com.github.rubanm"
name := "ignite-scala"
version := "0.0.1"
description := "scala api for distributed closures on apache ignite"
licenses :=
Seq("MIT" ->
url(s"https://github.com/rubanm/${name.value}/blob/master/LICENSE"))
crossScalaVersions := Seq("2.10.5", "2.11.6")
scalaVersion := crossScalaVersions.value.head
val igniteVersion = "1.0.0"
val algebirdVersion = "0.10.1"
val twitterUtilVersion = "6.24.0"
val scalaTestVersion = "2.2.4"
libraryDependencies ++= Seq(
"org.apache.ignite" % "ignite-core" % igniteVersion,
"com.twitter" %% "algebird-core" % algebirdVersion,
"com.twitter" %% "util-logging" % twitterUtilVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion % "test"
)
parallelExecution in Test := false
homepage := Some(url(s"https://github.com/softprops/${name.value}/"))
publishArtifact in Test := false
publishMavenStyle := true
pomExtra := (
<scm>
<url>[email protected]:rubanm/ignite-scala.git</url>
<connection>scm:git:[email protected]:rubanm/ignite-scala.git</connection>
</scm>
<developers>
<developer>
<id>rubanm</id>
<name>Ruban Monu</name>
<url>http://github.com/rubanm</url>
</developer>
</developers>)
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
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")
}