Skip to content

Instantly share code, notes, and snippets.

@ykrkn
Created November 14, 2013 14:25
Show Gist options
  • Save ykrkn/7467714 to your computer and use it in GitHub Desktop.
Save ykrkn/7467714 to your computer and use it in GitHub Desktop.
Gradle task for show jars with its contents.
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