forked from dlwh/breeze
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
68 lines (55 loc) · 1.92 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
63
64
65
66
67
68
organization := "org.scalanlp"
name := "breeze"
scalaVersion := "2.10.3"
addCompilerPlugin("org.scala-lang.plugins" % "macro-paradise" % "2.0.0-SNAPSHOT" cross CrossVersion.full)
publishMavenStyle := true
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")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>http://scalanlp.org/</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:dlwh/breeze.git</url>
<connection>scm:git:[email protected]:dlwh/breeze.git</connection>
</scm>
<developers>
<developer>
<id>dlwh</id>
<name>David Hall</name>
<url>http://cs.berkeley.edu/~dlwh/</url>
</developer>
</developers>)
scalacOptions ++= Seq("-optimize","-deprecation","-language:_")
javacOptions ++= Seq("-target", "1.6", "-source","1.6")
libraryDependencies ++= Seq(
"org.scalanlp" %% "breeze-macros" % "0.1" % "compile",
"com.thoughtworks.paranamer" % "paranamer" % "2.2",
"com.github.fommil.netlib" % "all" % "1.1",
"de.bwaldvogel" % "liblinear" % "1.8",
"net.sf.opencsv" % "opencsv" % "2.3",
"com.typesafe" %% "scalalogging-log4j" % "1.0.1",
"org.apache.logging.log4j" % "log4j-core" % "2.0-beta8",
"com.github.rwl" % "jtransforms" % "2.4.0",
"org.apache.commons" % "commons-math3" % "3.2",
"org.scalacheck" %% "scalacheck" % "1.10.0" % "test",
"org.scalatest" %% "scalatest" % "2.0.M5b" % "test"
)
resolvers ++= Seq(
Resolver.mavenLocal,
Resolver.sonatypeRepo("snapshots"),
Resolver.sonatypeRepo("releases"),
Resolver.typesafeRepo("releases")
)