Generating the full dependency tree of gradle project from github

Hi,
Could anyone please help me with the steps required to generate the full dependency tree of gradle project (v6.9.4) available in github, which will show all the libraries that get generated in the Lib folder after gradle installation.

I ran the command → gradlew install -Pgradle_installPath=<%Path%> and it generated a list of jars in the ‘Lib’ folder. But I need a dependency tree which shows all these installed jars in a tree structure.