Gradle build file not recognized and Build does nothing
I was starting work on a Spring Boot project and everything seemed to be working fine except the fact that IDEA was using 6 GB of RAM. My first thought was to reduce the number of active plugins to just those that seem to be necessary for the project I'm working in.
After pairing it down to just under 1 GB I reopened my project and found that neither Build nor Run actually do anything, and opening my build.gradle file I found that IDEA's syntax highlighting is disabled (as per the title, I suspect that IDEA is no longer recognizing the build file).
What plugin(s) dictate how it needs to be built, and how the file can be recognized? I enabled the Groovy plugin as per the editor's suggestion but then it treats the build file like a normal Groovy script.
Please sign in to leave a comment.
Could be the https://youtrack.jetbrains.com/issue/IDEA-198173 Please check that Groovy plugin is enabled.
If issue remains please attach idea.log after IDE restart and reproducing. For uploading you can use ftp://ftp.intellij.net/.uploads / https://uploads.services.jetbrains.com or any file sharing service.