On Updating version my project gradle to 5.0 release I am getting error in android studio it was working fine with gradle 5.0 rc 3>
gradle
5.0 rc
3>
For others who have the same problem in IntelliJ:
upgrading to the latest IDE version should resolve the issue.
In my case going from 2018.1 -> 2018.3.3