Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 3e02734ef8
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (23 sloc) 1.126 kB
sbtPlugin := true
name := "sbt-man"
organization := "com.eed3si9n"
version := "0.1.0"
description := "sbt plugin to look up scaladoc"
libraryDependencies ++= Seq("net.databinder" %% "dispatch-core" % "0.8.5",
"net.databinder" %% "dispatch-lift-json" % "0.8.5")
scalacOptions := Seq("-deprecation", "-unchecked")
publishArtifact in (Compile, packageBin) := true
publishArtifact in (Test, packageBin) := false
publishArtifact in (Compile, packageDoc) := false
publishArtifact in (Compile, packageSrc) := false
lsSettings
LsKeys.tags in LsKeys.lsync := Seq("sbt", "manual")
externalResolvers in LsKeys.lsync := Seq(
"sbt-plugin-releases" at "http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases")
publishMavenStyle := false
publishTo <<= (version) { version: String =>
val scalasbt = "http://scalasbt.artifactoryonline.com/scalasbt/"
val (name, u) = if (version.contains("-SNAPSHOT")) ("sbt-plugin-snapshots", scalasbt+"sbt-plugin-snapshots")
else ("sbt-plugin-releases", scalasbt+"sbt-plugin-releases")
Some(Resolver.url(name, url(u))(Resolver.ivyStylePatterns))
}
Jump to Line
Something went wrong with that request. Please try again.