Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (15 sloc) 0.521 kB
name := "sbt-version-info-plugin"
organization := "com.gu"
version := "2.1-SNAPSHOT"
sbtPlugin := true
// don't bother publishing javadoc
publishArtifact in (Compile, packageDoc) := false
publishTo <<= (version) { version: String =>
val publishType = if (version.endsWith("SNAPSHOT")) "snapshots" else "releases"
Some(
Resolver.file(
"guardian github " + publishType,
file(System.getProperty("user.home") + "/guardian.github.com/maven/repo-" + publishType)
)
)
}
Jump to Line
Something went wrong with that request. Please try again.