Gradle stuck compileTestKotlin

Gradle is getting stuck in the compileTestKotlin task. We are using Gradle 8.4 and Java 17.0.8. We added JVM options for custom memory execution, but we are still experiencing the same issue

I don’t see any compileTestKotlin, just compileKotlin.
Maybe have a look at the Kotlin compiler log files?
Maybe it just needs significant time? Did you try to just wait “some” more?