How to list buildScript dependencies?

(Ivo Houbrechts) #1

Is there a way to list all the dependencies of the build script itself? This can be useful when finding out which versions of (transitive) applied plugins (or their dependencies) are used by the build script.

Grtz, Ivo

(Justin Ryan) #2

You have to create a task to do it:

‘’’ task showBuildscript << {

project.buildscript.configurations.getByName(‘classpath’).each { println it } } ‘’’