I need to create a custom plugin for Android studio and with action, I need to add the dependency in build.gradle file.
With AnAction, I have overridden the actionPerformed method.
Now I need to add the dependency dynamically, after performing an action of that then how can I add that?
I have got the solution and applied the same,
Please refer here for the reference.