I am unable to fix this error:
dependencies cannot be applied to \'(groovy.lang.Closure)
This is my gradle file:
buildscrip
I solved the problem in Android Studio by Invalidating the cache and restart.
File-> Invalidate Caches / Restart..