Skip to content

Instantly share code, notes, and snippets.

@dnorton
Created June 13, 2016 19:56
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 dnorton/8785afc38eecb8a530a05ca4bf2ed79d to your computer and use it in GitHub Desktop.
Save dnorton/8785afc38eecb8a530a05ca4bf2ed79d to your computer and use it in GitHub Desktop.
A couple small tasks for debugging gradle
//debugging task to check the configuration
task list(dependsOn: configurations.compile) << {
println "classpath = ${configurations.compile.collect {File file -> file.name}}"
}
//debug -- show all dependency files
task showDependencyFiles(dependsOn:configurations.compile) {
configurations.compile.collect {
println it
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment