mirror of https://github.com/sbt/sbt.git
32 lines
724 B
Scala
32 lines
724 B
Scala
publishTo := {
|
|
val nexus = "https://oss.sonatype.org/"
|
|
Some {
|
|
if (version.value.trim.contains("+")) "snapshots" at nexus + "content/repositories/snapshots"
|
|
else "releases" at nexus + "service/local/staging/deploy/maven2"
|
|
}
|
|
}
|
|
|
|
publishMavenStyle := true
|
|
|
|
publishArtifact in Test := false
|
|
|
|
pomIncludeRepository := { _ => false }
|
|
|
|
scmInfo := Some(
|
|
ScmInfo(
|
|
browseUrl = url("https://github.com/jrudolph/sbt-dependency-graph"),
|
|
connection = "scm:git:git@github.com:jrudolph/sbt-dependency-graph.git"
|
|
)
|
|
)
|
|
|
|
developers := List(
|
|
Developer(
|
|
"jrudolph",
|
|
"Johannes Rudolph",
|
|
"johannes.rudolph@gmail.com",
|
|
url("https://virtual-void.net")
|
|
)
|
|
)
|
|
|
|
useGpg := true
|