Skip to content

Instantly share code, notes, and snippets.

@SethTisue
Created September 14, 2011 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SethTisue/1217097 to your computer and use it in GitHub Desktop.
Save SethTisue/1217097 to your computer and use it in GitHub Desktop.
Telling sbt 0.7 where to get a jar
// from a particular repo
object Repos {
val jmfRepo = "java.net" at "http://download.java.net/maven/2"
}
val jmfConfig = ModuleConfiguration("javax.media", Repos.jmfRepo)
val jmf = "javax.media" % "jmf" % "2.1.1e"
// from a URL that doesn't even have to be an actual repo
val jhotdraw = "org.jhotdraw" % "jhotdraw" % "6.0b1" from
"http://ccl.northwestern.edu/devel/jhotdraw-6.0b1.jar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment