-
Notifications
You must be signed in to change notification settings - Fork 3
/
publish.sbt
35 lines (23 loc) · 921 Bytes
/
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
publishTo := {
val v = (version in ThisBuild).value
if (v.trim().endsWith("SNAPSHOT")) Some(Opts.resolver.sonatypeSnapshots) else Some(Opts.resolver.sonatypeStaging)
}
pomIncludeRepository := { x => false }
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
homepage := Some(new URL("http://github.com/hamnis/scala-collection-json"))
startYear := Some(2014)
licenses := Seq(("Apache 2", new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")))
scmInfo := Some(ScmInfo(
new URL("http://github.com/hamnis/scala-collection-json"),
"scm:git:git://github.com/hamnis/scala-collection-json.git",
Some("scm:git:[email protected]:hamnis/scala-collection-json.git")
))
developers += Developer(
"hamnis",
"Erlend Hamnaberg",
new URL("http://twitter.com/hamnis")
)
enablePlugins(SignedAetherPlugin)
disablePlugins(AetherPlugin)
overridePublishSignedBothSettings