I would like to just add some information to build.sbt and have it pull in https://github.com/twitter/querulous
How can this be done?
I would like to just add some information to build.sbt and have it pull in https://github.com/twitter/querulous
How can this be done?
Add the following lines:
libraryDependencies += "com.twitter" %% "querulous-core" % "2.7.0"
resolvers += "Twitter repo" at "http://maven.twttr.com"
Note also, that querulous is kinda abandoned, so you may want to switch to something else.
If you looking for ways to fetch querulous directly from github, AFAIK there is no one via build.sbt
but you can configure you can do this via project/MyBuild.scala
:
import sbt._
import Keys._
object MyBuild extends Build {
lazy val root = Project(".", file("Foo"),
settings = Defaults.defaultSettings
) dependsOn(querulous)
lazy val querulous = uri("git://github.com/twitter/querulous")
}