identify all the dependencies in a Project


I'm trying to create a plugin, Which reads all the dependencies (including transitive dependencies) and it's version for currently opened project. Project could be using Maven or Gradle build system. 


I have gone through few answers and source code of plugins, They are using PSI to parse dependency list, I'm trying to find if there is any APIs provided by Intellij for this purpose. And also if I use PSI to parse dependency list, I wont' get the transitive dependencies. 

1 comment

What exactly do you mean with "dependencies"? The list of libraries? Please explain your use case in more detail.


Please sign in to leave a comment.