Created
November 14, 2013 14:25
-
-
Save ykrkn/7467714 to your computer and use it in GitHub Desktop.
Gradle task for show jars with its contents.
This file contains hidden or 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
task listJars << { | |
configurations.compile.each { File file -> | |
println file.name | |
def files = zipTree(file) | |
files.each { File file2 -> | |
println file2.path + file2.name | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment