forked from xerial/sbt-pack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonatype.sbt
31 lines (29 loc) · 808 Bytes
/
sonatype.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
sonatypeProfileName := "org.xerial"
pomExtra := {
<url>http://xerial.org/</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/xerial/sbt-pack.git</connection>
<developerConnection>scm:git:git@github.com:xerial/sbt-pack.git</developerConnection>
<url>https://github.com/xerial/sbt-pack</url>
</scm>
<developers>
<developer>
<id>leo</id>
<name>Taro L. Saito</name>
<url>http://xerial.org/leo</url>
</developer>
</developers>
}
// Add sonatype repository settings
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)