forked from scalanlp/nak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
62 lines (51 loc) · 1.7 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
name := "nak"
version := "1.3"
organization := "org.scalanlp"
scalaVersion := "2.11.1"
crossScalaVersions := Seq("2.11.1", "2.10.4")
resolvers ++= Seq(
Resolver.mavenLocal,
"Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/",
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
)
libraryDependencies ++= Seq(
"org.scalanlp" %% "breeze" % "0.9",
"org.scalanlp" %% "breeze-config" % "0.9.1",
"org.scalanlp" %% "breeze-natives" % "0.8" % "test, runtime",
"org.rogach" %% "scallop" % "0.9.5",
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
"org.apache.logging.log4j" % "log4j-core" % "2.0-beta8" % "test, runtime",
"org.scalatest" %% "scalatest" % "2.1.3" % "test",
"org.scalacheck" %% "scalacheck" % "1.11.3" % "test"
)
publishTo <<= version { v: String =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>http://scalanlp.org/</url>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:scalanlp/nak.git</url>
<connection>scm:git:[email protected]:scalanlp/nak.git</connection>
</scm>
<developers>
<developer>
<id>jasonbaldridge</id>
<name>Jason Baldridge</name>
<url>http://www.jasonbaldridge.com</url>
</developer>
</developers>
)