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

23 lines (16 sloc) 0.565 kb
sbtPlugin := true
name := "sbt-jshint-plugin"
organization := "com.gu"
version := "0.1.1"
libraryDependencies += "org.mozilla" % "rhino" % "1.7R3"
// 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.