After upgrading to 2024.3.1 I noticed that two of ...
# intellij
t
After upgrading to 2024.3.1 I noticed that two of my modules are not imported properly from Gradle. This worked OK in 2024.2. I was wondering if this is a known issue or maybe I should change something? I tried to figure out why this happens, cleared caches, Gradle etc., but my modules are very similar and only this two shows up like this. I can manually fix this in project structure but the next Gradle refresh changes it back into this.
c
This just means IntelliJ couldn't figure out what the name of the module was, it's just a display issue, it shouldn't impact any other feature. Do you see any other problems?
w
I think it could figure out module name (it's in bold), but the module name differs from directory structure/path
c
Yeah, but it shouldn't impact IntelliJ functionality, everything should work the same
👌 1
t
Everything works, only the display is wrong I think. No idea why tho. The modules are basically the same from this point of view.
s
I've had similar issues for a long time with many versions of IntelliJ, unsure why they happen but they're rare. Unlinking the Gradle project (from the Gradle tool on the sidebar) then linking it again fixes it for me. You might also wanna try removing the
.idea
folder, or using the "Repair IDE" action, sometimes they solve these issues.
c
Another thing I've seen cause these: when you open the project by clicking on a
build.gradle.kts
file or on a folder name. If you open the
settings.gradle.kts
file, they happen less often
t
Thank you for the answers, I'll try the suggested workarounds,