aboutsummaryrefslogtreecommitdiff
path: root/publish.sbt
blob: 86c48bd5ea8a08eaf0584ef199dbe225a3c33345 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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