Hey team, I’m running into an issue where the `com...
# server
w
Hey team, I’m running into an issue where the
compileKotlin
task when trying to build my kotlin project is infinitely looping. I left it running and as we can see it didn’t finish for 1.5 hours. I don’t think I changed anything in particular other than upgrading the kotlin plugin on Intellij. Is anyone else facing this recently? Some metadata if anyone finds it useful:
Copy code
kotlin("jvm") version "1.7.21"
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
I tried changing the kotlin compiler to use the experimental K2 as well but no luck. Unfortunately its blocking some critical development that needs to happen in my organization so any advice would be much appreciated! 🙏
d
Did you try to restart the kotlin compiler daemon ? (
killall java
does the trick 😇)
w
Yeah this didn’t work for me. Neither did upgrading the memory in
gradle.properties
. There were some large memory leaks for some reason but upgrading the kotlin jvm to 1.9.0 fixed it. I don’t know the underlying cause though so likely not the ideal fix for this situation for everyone 😢