forked from scalanlp/breeze
-
Notifications
You must be signed in to change notification settings - Fork 50
/
build.sbt
57 lines (42 loc) · 1.5 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
organization := "org.scalanlp"
name := "breeze-parent"
lazy val root = project.in( file(".") )
.aggregate(math, natives, viz, macros).dependsOn(math, viz)
lazy val macros = project.in( file("macros"))
lazy val math = project.in( file("math")).dependsOn(macros)
lazy val natives = project.in(file("natives")).dependsOn(math)
lazy val viz = project.in( file("viz")).dependsOn(math)
lazy val benchmark = project.in(file("benchmark")).dependsOn(math, natives)
scalaVersion := Common.scalaVersion
crossScalaVersions := Common.crossScalaVersions
addCompilerPlugin("org.scalamacros" %% "paradise" % "2.0.1" 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]:scalanlp/breeze.git</url>
<connection>scm:git:[email protected]:scalanlp/breeze.git</connection>
</scm>
<developers>
<developer>
<id>dlwh</id>
<name>David Hall</name>
<url>http://www.dlwh.org/</url>
</developer>
</developers>)