Loading Gradle Libraries in Intellij Idea

Add following line in build.gradle

apply plugin: "idea"

Run following command in applications’ root directory

gradle idea --refresh-dependencies

It may take some time to download all the libraries added in build.gradle. Wait with patience until the downloads finish.

Now go to Intellij Idea and it will prompt to reload the project with the libraries.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s