Synchronizing IntelliJ IDEA Dependencies With Gradle [Updated]
Based on the great post
Managing IntelliJ dependencies with Gradle
from Kallin Nagelberg, I’ve came to a solution about how to manage
Intellij IDEA dependencies on projects that uses .idea directory as its
structure.
Basically instead of changing your_project.iml file we
create a xml file in .idea/libraries with the jars listed on it. For
more details, please, read Kallin’s post. This is the task: