Sync Gradle project dependencies Intellij2018.3.4 Follow
I'm trying to reimport my Gradle project (connected to a nexus), but I can't sync the dependencies (external libraries and module dependencies are empty).
I tried "invalidate cache/restart" and delete ~/.gradle/caches, and the problem persists.
The sync takes a lot of time and tried to redownload the existing libraries
Please sign in to leave a comment.
Can you build from command line?
Are there any errors/warning during the refresh or when it finishes?
Please provide idea.log after IDE restart, invoke the refresh and wait until it finishes.
For uploading you can use ftp://ftp.intellij.net/.uploads / https://uploads.services.jetbrains.com or any file sharing service.
Yes it builds with command line
the refresh takes too much time, I didn't finish it
Do you have antivirus/firewall? It could be the cause. Try with it disabled or make sure that IDE settings directories IDE installation home and project files are excluded from the scan.
Provide idea.log if issue remains after restart and reproducing.
Which gradle version? I had trouble with IDEA and gradle 5.0. gradle 5.1 fixed the problems for me.
In addition, the Gradle panel doesn't recognize my tasks