Ayfri
Ayfri

Reputation: 637

No enum constant org.gradle.api.JavaVersion.VERSION_14

Using Intellij IDEA, I created a new Gradle project using Gradle 6.4 and Java 14, but when I try to build the project, I'm getting this error :

No enum constant org.gradle.api.JavaVersion.VERSION_14

What do I do ?

Edit 1 :
I'm using the latest EAP version of IDEA.

Upvotes: 6

Views: 1515

Answers (1)

Andrey
Andrey

Reputation: 16401

It is known issue with 2020.2 EAP version: IDEA-243097. Will be fixed in the next EAP update (expected next week). Sorry for the inconvenience.

As a workaround please downgrade IDE version.

Upvotes: 8

Related Questions