Compilation using 2.3.0 hangs

I upgraded to 2.3.0 in my Gradle build today, and now compilation does not finish (or at least is taking so much longer than with 2.2.21 that I am not willing to wait for it to finish).

Adding kotlin.compiler.execution.strategy=out-of-process to gradle.properties does not help.

Is there any way to determine what the problem is?

  • Java: Zulu21.46+19-CA (build 21.0.9+10-LTS)
  • Gradle: 9.2.1
  • Window 10 Pro, 22H2, build 19045.6691
1 Like

Happened in my projects, too. The compile step using Gradle hangs, locally on my machine and in my CI pipeline (using Github Actions). According to the Gradle debug log, nothing happens, it’s just stuck performing Gradle Daemon health checks until I terminate it manually.

Versions in my case:

  • Java: Zulu21, Zulu24 (upgrade didn’t help)
  • Gradle: 9.1.0, 9.2.1 (upgrade didn’t help)
  • OS: Ubuntu 24.04 in the CI pipeline, MacOS 26.2 for local builds (both are affected)

Any ideas, what else I could try?

1 Like

I am struggling with the same problem. I am using ubuntu-latest in the GitHub action, with gradle-9.3.0, KMP project, it always hangs on:

Task :linuxX64Test

Interestingly enough the same build is passing on my Mac.