CLI tool that explores dependencies for Android Gradle based projects.
The purpose of this tool is to be able to provide all the dependencies of a given project, transitively. This tool does not invoke Gradle, making it appealing for usages where performance is preferred.
To run this project, you will need to add the following environment variables to your system environment.
export REPO_HOME
=/path/to/your/repo
Clone the project
git clone git@github.com:square/dependency-explorer.git
Go to the project directory
cd app
Development
./gradlew :run --args="gradle-projects apps/spos/app"
Production
./run apps/spos/app
Output
Collecting module dependencies for inputs :apps:spos:app
Importing 2966 total modules
Wrote dependencies to /Users/phundal/Development/android-register/settings_modules_override.gradle
Executed in: 650 ms
- Add ability to configure rules for dependencies
- Add ability to pass in default values
Update version in root build.gradle
Generate New Binary
./gradlew :buildBinary
- Fork the project
- Create a PR for review
That's it! :)