Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 851
Ayfri Avatar asked Jun 12 '20 14:06

Ayfri


1 Answers

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.

like image 147
Andrey Avatar answered Sep 28 '22 14:09

Andrey