identify all the dependencies in a Project

Answered

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. 

0
1 comment

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

https://plugins.jetbrains.com/docs/intellij/library.html

0

Please sign in to leave a comment.