Skip to content

Instantly share code, notes, and snippets.

@ezhov-da
Last active September 5, 2019 06:45
Show Gist options
  • Save ezhov-da/0100aa684932e9d5944b6513fcca5f9c to your computer and use it in GitHub Desktop.
Save ezhov-da/0100aa684932e9d5944b6513fcca5f9c to your computer and use it in GitHub Desktop.
gradle add library dependencies
You either need to import the project as a Gradle project from within Idea. When you add a dependency you need to open the Gradle window and perform a refresh.
Alternatively generate the project files from gradle with this:
build.gradle:
apply plugin: 'idea'
And then run:
$ gradle idea
If you modify the dependencies you will need to rerun the above again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment