Skip to content

Instantly share code, notes, and snippets.

@dirkraft
Last active August 29, 2015 13:56
Show Gist options
  • Save dirkraft/9213344 to your computer and use it in GitHub Desktop.
Save dirkraft/9213344 to your computer and use it in GitHub Desktop.
Performs `gradle dependencyInsight` recursively over all modules. `gxargs` because brew install gnutls on a mac. built-in xargs is a POS. Gradle 1.11 dependencyInsight is significantly more reliable than 1.10. Go 1.11
SAMPLE_DEPENDENCY="jersey-core"
find . -type f -name build.gradle -exec dirname {} \; \
| gxargs -I{} gradle -p {} dependencyInsight --dependency ${SAMPLE_DEPENDENCY}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment