forked from rsimon/scala-force-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
50 lines (41 loc) · 1.42 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
organization := "at.ait.dme.forcelayout"
name := "scala-force-layout"
version := "0.4.0"
scalaVersion := "2.10.1"
publishMavenStyle := true
libraryDependencies ++= Seq(
"com.propensive" % "rapture-io" % "0.7.2"
)
// Extras for publishing to Sonatype Maven repository
// Use 'sbt publish-signed' to publish
// Read more: http://www.scala-sbt.org/0.12.3/docs/Community/Using-Sonatype.html
// and: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-8.ReleaseIt
// Nexus UI is at: https://oss.sonatype.org/
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")
}
pomIncludeRepository := { _ => false }
pomExtra := (
<url>http://github.com/rsimon/scala-force-layout</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/rsimon/scala-force-layout.git</url>
<connection>scm:git:git@github.com:rsimon/scala-force-layout.git</connection>
</scm>
<developers>
<developer>
<id>rsimon</id>
<name>Rainer Simon</name>
<url>http://rsimon.github.com</url>
</developer>
</developers>)