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 prope
After a couple of days, I found a solution to this.
1)First, find the Gradle version (gradle -v), In my case, Gradle version was 4.1.
2)Then in the android studio change my Gradle version to 4.1 (File --> Project Structure -> Project)
3)Click ok Button.
that's it :)