I have been using Intellij 2018.1 and Gradle for a while now without issues. This is the first time I have seen this problem.
I have a Gradle-based Java project that doesn't seem to behave correctly when I edit the build.gradle
in IntelliJ. Gradle behaves correctly when I issue commands on the terminal, so I think this is limited to IntelliJ's integration w/ Gradle.
build.gradle
, Gradle refreshes and updates the entire dependency graphBuild
tab at the bottom that seems to log the rebuild/refresh:Build
tab:Any ideas as to what is going wrong and what I can do to restore/fix Gradle for my project?
Your project was probably not imported from Gradle, but created manually in the IDE using the wizard. You can import it again from build.gradle
file and overwrite the existing project files.
Changes are refreshed either manually or automatically depending on your settings.