-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsonatype.sbt
33 lines (26 loc) · 810 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
32
33
pomExtra := {
<scm>
<url>https://github.com/workingDog/stixtoneolib</url>
<connection>scm:git:git@github.com:workingDog/stixtoneolib.git</connection>
</scm>
<developers>
<developer>
<id>workingDog</id>
<name>Ringo Wathelet</name>
<url>https://github.com/workingDog</url>
</developer>
</developers>
}
pomIncludeRepository := { _ => false }
publishMavenStyle := true
publishArtifact in Test := false
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
sonatypeProfileName := "com.github.workingDog"
releasePublishArtifactsAction := PgpKeys.publishSigned.value
releaseTagName := (version in ThisBuild).value
credentials += Credentials(Path.userHome / ".ivy2" / ".my-credentials")