Is there a known issue with Gradle 8.4 that leads ...
# gradle
l
Is there a known issue with Gradle 8.4 that leads to IDEA failing to load (Kotlin) build script configurations? The IDEA logs aren't helpful and I'm struggling to find anything relevant on YouTrack or the Gradle issue tracker right now.
v
Maybe have a look at the dedicated Kotlin DSL log files
l
Thanks for the pointer. I hadn't considered that, but is it even up to date? The folder does not exist for me. 🤔
v
If it is not, you should report a doc bug
Didn't look into them for quite a while
But yes, I see the log still in the sources of Gradle, so I guess it is current. Did you look in the correct spot for your OS?
l
image.png
v
Well, maybe there was nothing to log 🤷‍♂️
What error / problem do you actually see?
l
That's part of the issue. I don't really have a good error message. I'm getting the "Script configurations not loaded" banner (but clicking load does not change anything and there is no indication of failure in IDEA logs). Apart from that IDEA's problem view shows
Cannot access script base class 'org.gradle.kotlin.dsl.KotlinSettingsScript'. Check your module classpath for missing or conflicting dependencies
what further leads me to believe that there is an unexpected Gradle <-> IDEA communication issue. The project is building just fine and tasks are imported correctly. It's just about the script editing. And, yes, I've tried deleting Gradle + IDEA caches without any success.
Will try if the
-Dorg.gradle.kotlin.dsl.logging.tapi=true
gives me anything to work with
v
Probably more a question to JetBrains, maybe they can help to investigate.
l
I wonder if I'm hitting https://youtrack.jetbrains.com/issue/KTIJ-26855 but the author states that this is solved for him by reloading the project which is not the case for me.
494 Views