-
Notifications
You must be signed in to change notification settings - Fork 55
/
build.sbt
50 lines (31 loc) · 1.1 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
name := "sbt-revolver"
organization := "cc.spray"
version := "0.6.0"
description := "An SBT plugin for dangerously fast development turnaround in Scala"
startYear := Some(2011)
homepage := Some(url("http://github.com/spray/sbt-revolver"))
organizationHomepage := Some(url("http://spray.cc"))
licenses in GlobalScope += "Apache License 2.0" -> url("https://github.com/spray/sbt-revolver/raw/master/LICENSE")
sbtPlugin := true
scalacOptions := Seq("-deprecation", "-encoding", "utf8")
///////////////
// publishing
///////////////
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
publishMavenStyle := true
publishTo <<= version { version =>
Some {
"spray nexus" at {
// public uri is repo.spray.cc, we use an SSH tunnel to the nexus here
"http://localhost:42424/content/repositories/" + {
if (version.trim.endsWith("SNAPSHOT")) "snapshots/" else"releases/"
}
}
}
}
///////////////
// ls-sbt
///////////////
seq(lsSettings :_*)
(LsKeys.tags in LsKeys.lsync) := Seq("sbt-plugin", "sbt", "plugin", "jrebel")
(LsKeys.docsUrl in LsKeys.lsync) <<= homepage