Created
May 6, 2014 13:31
-
-
Save igorpopovio/6cc68766682139019951 to your computer and use it in GitHub Desktop.
List all files (including transitive stuff) for a specific dependency.
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
repositories { mavenCentral() } | |
configurations { libs } | |
dependencies { libs 'org.hibernate:hibernate-core:4.3.5.Final' } | |
configurations.libs.dependencies.each { dependency -> | |
def myFiles = configurations.libs.files dependency | |
myFiles.each { println it } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment