mirror of https://github.com/sbt/sbt.git
19 lines
634 B
Scala
19 lines
634 B
Scala
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:jrudolph/sbt-dependency-graph.git",
|
|
"scm:git:git@github.com:jrudolph/sbt-dependency-graph.git",
|
|
"jrudolph", "Johannes Rudolph")
|
|
|
|
useGpg := true
|