Skip to content

Instantly share code, notes, and snippets.

@umhan35
Last active April 10, 2016 16:25
Show Gist options
  • Save umhan35/d476918b199e38f31e71 to your computer and use it in GitHub Desktop.
Save umhan35/d476918b199e38f31e71 to your computer and use it in GitHub Desktop.
print classpath from sbt

add the following to build.sbt

TaskKey[String]("cp") <<= (externalDependencyClasspath in Runtime) map (_.files.absString)

run show cp in sbt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment