IntelliJ IDEA: Can’t find key kotlin.gradle.testing.enabled

I ran into this exception while launching a Vert.x project in IntelliJ (using a Gradle run config). I couldn’t find any reference to it. After hours of clearing caches and reinstalling plugins, I finally upgraded from (my perpetually licensed) IntelliJ 2018.2.7 to 2019.2.1. VoilĂ ! It’s magically fixed. I’m unclear if it is a Gradle or Kotlin plugin issue or what, so I don’t know where to post the issue. Let me know if you have any insights.

UPDATE #1: This has been reported to JetBrains here: It has been marked as “Can’t Reproduce”. If you’re experiencing this issue, please comment on the case. Thanks!

UPDATE #2: Please see the case for details on a potential workaround.

6 thoughts to “IntelliJ IDEA: Can’t find key kotlin.gradle.testing.enabled”

  1. I also just ran into this same error. Using kotlin gradle build.gradle.kts IntelliJ 2018.2

  2. I resolved this problem by upgrade gradle version 4.10.2 -> version 6.1.1 also IntelliJ 2018.2.5 -> 2019.3.1

Comments are closed.