-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.sbt
49 lines (34 loc) · 1.2 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
version := "0.5-SNAPSHOT"
sbtPlugin := true
name := "xsbt-filter"
organization := "com.github.sdb"
seq(ScriptedPlugin.scriptedSettings: _*)
scalaSource in Compile <<= baseDirectory { (base) => base / "src" }
sbtTestDirectory <<= baseDirectory { (base) => base / "sbt-test" }
crossScalaVersions := Seq("2.9.1", "2.9.2")
scalacOptions ++= Seq("-deprecation", "-unchecked")
licenses := Seq("New BSD License" -> url("http://opensource.org/licenses/BSD-3-Clause"))
homepage := Some(url("http://sdb.github.com/xsbt-filter/"))
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 := { x => false }
pomExtra := (
<scm>
<url>[email protected]:sdb/xsbt-filter.git</url>
<connection>scm:git:[email protected]:sdb/xsbt-filter.git</connection>
</scm>
<developers>
<developer>
<id>sdb</id>
<name>Stefan De Boey</name>
<url>https://github.com/sdb</url>
</developer>
</developers>
)