@bitkid I had some problems with intellij constantly “undoing” my target-vm setting. At first I thought it was occuring during the gradle import — (and it might have) — but the way I fixed it was by making sure the “Kotlin” facet was applied to the module and not the “Kotlin (java)” or “Kotlin (javascript)” facet. Might not have been the root cause — but worked for me.