-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.sbt
54 lines (36 loc) · 1.35 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
sbtPlugin := true
name := "sbt-appbundle"
organization := "de.sciss"
version := "1.1.0-SNAPSHOT"
scalaVersion in Global := "2.10.4"
sbtVersion in Global := "0.13.5"
// crossScalaVersions := Seq("2.9.2", "2.9.1")
scalacOptions := Seq("-deprecation", "-unchecked", "-feature", "-Xfuture")
description := "An sbt plugin to create OS X application bundles"
homepage := Some(url("https://github.com/sbt/" + name.value))
licenses := Seq("LGPL v2.1+" -> url("http://www.gnu.org/licenses/lgpl-2.1.txt"))
// ---- publishing ----
publishMavenStyle := true
publishTo :=
Some(if (version.value endsWith "-SNAPSHOT")
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
else
"Sonatype Releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2"
)
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra <<= name { n =>
<scm>
<url>git@github.com:sbt/{n}.git</url>
<connection>scm:git:git@github.com:sbt/{n}.git</connection>
</scm>
<developers>
<developer>
<id>sciss</id>
<name>Hanns Holger Rutz</name>
<url>http://www.sciss.de</url>
</developer>
</developers>
}
// publishArtifact in (Compile, packageDoc) := false
// publishArtifact in (Compile, packageSrc) := false