问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/62345882/no-enum-constant-org-gradle-api-javaversion-version-14