Get dependency graph in Android Studio
已回答
Hello,
I'm developing a plugin for Android studio.
I'm looking for a way to get the dependency tree of an Android project programmatically from my plugin.
The results must be a tree and not a flat list.
Is it possible to get it in Android Studio?
Thanks.
请先登录再写评论。
You can use com.android.tools.idea.projectsystem.AndroidModuleSystem to enumerate all dependencies, acquire via com.android.tools.idea.projectsystem.ProjectSystemService#getProjectSystem#getModuleSystem