forked from Gekkio/sbt-jrebel-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
46 lines (34 loc) · 1.22 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
organization := "fi.jamonkko.sbtplugins"
name := "sbt-jrebel-plugin"
version := "1.0.0"
sbtVersion in Global := "1.2.8"
scalaVersion := "2.12.8"
artifactName := { (sv: ScalaVersion, module: ModuleID, artifact: Artifact) =>
s"${artifact.name}_${sv.productElement(1)}-${module.revision}.${artifact.extension}"
}
sbtPlugin := true
homepage := Some(url("http://github.com/jamonkko/sbt-jrebel-plugin"))
licenses += ("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
pomExtra := (
<scm>
<connection>scm:git:[email protected]:jamonkko/sbt-jrebel-plugin.git</connection>
<developerConnection>scm:git:[email protected]:jamonkko/sbt-jrebel-plugin.git</developerConnection>
<url>[email protected]:jamonkko/sbt-jrebel-plugin.git</url>
</scm>
<developers>
<developer>
<id>jamonkko</id>
<name>Jarkko Mönkkönen</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")
}