Created
June 13, 2016 19:56
-
-
Save dnorton/8785afc38eecb8a530a05ca4bf2ed79d to your computer and use it in GitHub Desktop.
A couple small tasks for debugging gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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