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

21 lines (15 sloc) 0.503 kB
sbtPlugin := true
name := "sbt-dist-plugin"
organization := "com.gu"
version := "1.7"
// 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.