Guest User

Untitled

a guest
Sep 18th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. project.configurations.each {conf ->
  2. println("config ${conf.name}")
  3. /*try {
  4. conf.resolvedConfiguration.files.each {
  5. println("files=" + it.absolutePath)
  6. }
  7. } catch (Exception e) {
  8. //e.printStackTrace()
  9. }*/
  10. /*conf.files.each {
  11. println("files=" + it.absolutePath)
  12. }*/
  13. /*conf.resolve().each {
  14. println("file " + it.absolutePath)
  15. }*/
  16. conf.allDependencies.each {dep->
  17. println("depends " + dep.name)
  18. }
  19. conf.allArtifacts.each {artifact ->
  20. println("arti=${artifact.file.absolutePath}")
  21. }
  22. }
  23.  
  24. dependencies {
  25. compile fileTree(include: '*.jar', dir: 'libs')
  26. provided fileTree(include: '*.jar', dir: 'provided')
  27. compile project(':plugin-lib')
  28. }
  29. apply plugin: 'plugin-gradle'
  30.  
  31. project.configurations.provided.files.each {
  32. println("provided " + it.absolutePath)
  33. }
  34.  
  35. gradlew -q :app:dependencies
Add Comment
Please, Sign In to add comment