forked from Gekkio/sbt-jrebel-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
37 lines (29 loc) · 1013 Bytes
/
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
organization := "fi.gekkio.sbtplugins"
name := "sbt-jrebel-plugin"
version := "0.10.0"
sbtPlugin := true
homepage := Some(url("http://github.com/Gekkio/sbt-jrebel-plugin"))
licenses += ("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
pomExtra := (
<scm>
<connection>scm:git:[email protected]:gekkio/sbt-jrebel-plugin.git</connection>
<developerConnection>scm:git:[email protected]:gekkio/sbt-jrebel-plugin.git</developerConnection>
<url>[email protected]:gekkio/sbt-jrebel-plugin.git</url>
</scm>
<developers>
<developer>
<id>gekkio</id>
<name>Joonas Javanainen</name>
<email>[email protected]</email>
<timezone>+2</timezone>
</developer>
</developers>
)
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}