-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublish.sbt
37 lines (35 loc) · 1.14 KB
/
publish.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
pomIncludeRepository := { _ =>
false
}
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
// To sync with Maven central, you need to supply the following information:
pomExtra in Global := {
<url>https://github.com/agiledigital/play2-health-checker-module</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:github.com/agiledigital/play2-health-checker-module</connection>
<developerConnection>scm:git:git@github.com:agiledigital/play2-health-checker-module</developerConnection>
<url>github.com/agiledigital/play2-health-checker-module</url>
</scm>
<developers>
<developer>
<id>info@agiledigital.com.au</id>
<name>Justin Smith</name>
</developer>
<developer>
<id>daniel.spasojevic@gmail.com</id>
<name>Daniel Spasojevic</name>
</developer>
</developers>
}