How to analyze gradle build files

I would like to analyze the build files for a bunch of projects, e.g. to collect information about the dependencies being used. I was thinking of using the Gradle API to load build files and then use classes and methods to get dependencies etc. I couldn’t find appropriate entry points in the API docs, however - somebody has an idea how to achieve this?

Here’s a good article that will help get you started:

1 Like