Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:No such property: GradleVersion for class: JetGradlePlugin

I am getting below error in intellij for a gradle project. I am importing existing gradle project and trying refresh it in gradle window.

Error:No such property: GradleVersion for class: JetGradlePlugin 

Please advise.

like image 382
Khuzi Avatar asked Dec 03 '18 19:12

Khuzi


1 Answers

I had this problem while upgrading to java 11.

I had to downgrade gradle from 5.0 to 4.10.3. Then I needed to upgrade to the latest version of Intellij Idea. You'll probably just need to upgrade Intellij.

edit: Downgrading gradle is the fix. The Intellij version didn't matter.

like image 141
ylemp Avatar answered Oct 14 '22 13:10

ylemp