Wrong channel, move to <#C19FD9681|> <https://kotl...
# compiler
s
Wrong channel, move to #C19FD9681 https://kotlinlang.slack.com/archives/C19FD9681/p1752067077072709 Hi together, at my company, when we enable the gradle configuration cache (default enabled in gradle 9), we get an error from the Kotlin Compiler.
Copy code
Execution failed for task ':compileKotlin'.
> Error while evaluating property 'disableMultiModuleIC' of task ':compileKotlin'.
   > Invocation of 'Task.project' by task ':compileKotlin' at execution time is unsupported with the configuration cache.
We traced it back to this line in the Kotlin compiler: https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-gradle-plug[…]ommon/kotlin/org/jetbrains/kotlin/gradle/tasks/KotlinCompile.kt It only happens on jenkins, locally all is fine. It is reproducible and happens in a cleaned workspace (also in a dirty one). We are unsure why the error only happens on jenkins. Maybe a timing issue with the lazy? Any idea what that could be?
d
The error is not from the compiler, but from Gradle task
KotlinCompile
. Looks like build script issue for me, worth asking in #C19FD9681
s
Thanks, that is true ofc