diff options
author | Johannes Rudolph <johannes.rudolph@gmail.com> | 2014-09-02 11:22:53 +0200 |
---|---|---|
committer | Johannes Rudolph <johannes.rudolph@gmail.com> | 2014-09-02 11:22:53 +0200 |
commit | 899fe41f1ebcab6d695618c29933888202c8225c (patch) | |
tree | fcad96e7cc31d1a5b76a29be0aa43f9cb501e3fe /publish.sbt | |
parent | 1bb8a4455ba39de44048d9e67898e971561f87ac (diff) | |
download | sbt-boilerplate-899fe41f1ebcab6d695618c29933888202c8225c.tar.gz sbt-boilerplate-899fe41f1ebcab6d695618c29933888202c8225c.tar.bz2 sbt-boilerplate-899fe41f1ebcab6d695618c29933888202c8225c.zip |
change to sonatype publishing for now and change organization to "net.virtual-void" for simpler administrationv0.5.9-net.virtual-void
Diffstat (limited to 'publish.sbt')
-rw-r--r-- | publish.sbt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/publish.sbt b/publish.sbt new file mode 100644 index 0000000..86c48bd --- /dev/null +++ b/publish.sbt @@ -0,0 +1,18 @@ +publishTo <<= version { v: String => + val nexus = "https://oss.sonatype.org/" + if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots") + else Some("releases" at nexus + "service/local/staging/deploy/maven2") +} + +publishMavenStyle := true + +publishArtifact in Test := false + +pomIncludeRepository := { _ => false } + +pomExtra := + Helpers.generatePomExtra("git@github.com:sbt/sbt-boilerplate.git", + "scm:git:git@github.com:sbt/sbt-boilerplate.git", + "jrudolph", "Johannes Rudolph") + +useGpg := true |