Skip to content

Instantly share code, notes, and snippets.

@regadas
Created September 19, 2011 08:58
Show Gist options
  • Save regadas/1226171 to your computer and use it in GitHub Desktop.
Save regadas/1226171 to your computer and use it in GitHub Desktop.
SBT 0.10.X eclipse plugin configuration
// this file should be in ~/.sbt/plugins/ as every other plugin that is meant to be global
resolvers += {
val typesafeRepoUrl = new java.net.URL("http://repo.typesafe.com/typesafe/releases")
val pattern = Patterns(false, "[organisation]/[module]/[sbtversion]/[revision]/[type]s/[module](-[classifier])-[revision].[ext]")
Resolver.url("Typesafe Repository", typesafeRepoUrl)(pattern)
}
libraryDependencies <<= (libraryDependencies, sbtVersion) { (deps, version) =>
deps :+ ("com.typesafe.sbteclipse" %% "sbteclipse" % "1.3-RC3" extra("sbtversion" -> version))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment