I have a gradle project with a submodule. The subm...
# announcements
j
I have a gradle project with a submodule. The submodule has some extensions, and it worked fine for several years. For some reason, my project no longer recognizes the extensions, even though afaik I haven't changed anything. The project still compiles fine with gradle, just the IDE doesn't recognize the extensions anymore (or actually anything from that module it seems). I tried to clear caches already, run a gradle clean & deleting the build folders manually, but this didn't fix anything. Is this a commmon problem with a fix available?
What makes it weirder: autocomplete still shows the classes and extensions of the module, but when I autocomplete it, it adds the full package name for classes, with one of the subpackages in red. Extensions also turn red after the autocompletion is done.
Building with the green hammer also fails, while gradle works fine. Is this some kind of class path problem?
b
Recent version of IntelliJ have the ability to delegate build actions to gradle. Doesthat work for you?
j
It's already on that (see screenshot). WEird thing is, it just happens with 1 specific module, even though I have another module which is setup the exact same way (build.gradle and my dependency on it), so it's some really weird issue
Rolled back some changes in IML files that happened to be in GIT by pure luck, fixed the issue