-
Notifications
You must be signed in to change notification settings - Fork 101
/
build.sbt
54 lines (41 loc) · 1.45 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
organization := "org.graphchi"
name := "graphchi-java"
version := "0.2.2"
scalaVersion := "2.11.2"
crossScalaVersions := Seq("2.11.2", "2.10.3")
javaSource in Test := baseDirectory.value / "test"
libraryDependencies ++= Seq(
"com.yammer.metrics" % "metrics-core" % "2.2.0",
"mysql" % "mysql-connector-java" % "5.1.6",
"org.apache.pig" % "pig" % "0.10.0",
"org.apache.hadoop" % "hadoop-core" % "0.20.2",
"org.apache.commons" % "commons-math" % "2.1",
"commons-cli" % "commons-cli" % "1.2",
"com.novocode" % "junit-interface" % "0.11" % "test",
"org.scalacheck" %% "scalacheck" % "1.11.4" % "test",
"org.scalatest" %% "scalatest" % "2.2.1" % "test"
)
publishMavenStyle := true
pomIncludeRepository := { _ => false }
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
licenses := Seq("Apache-2.0" -> url("http://www.opensource.org/licenses/Apache-2.0"))
homepage := Some(url("http://github.com/GraphChi/graphchi-java"))
pomExtra := (
<scm>
<url>[email protected]:GraphChi/graphchi-java.git</url>
<connection>scm:git:[email protected]:GraphChi/graphchi-java.git</connection>
</scm>
<developers>
<developer>
<id>matt-gardner</id>
<name>Matt Gardner</name>
<url>http://cs.cmu.edu/~mg1</url>
</developer>
</developers>)