‘dependencies’ cannot be applied to ‘(groovy.lang.Closure)’ December 12, 2022 by Tarik You can go to Preferences and select “use default gradle wrapper” then rebuild the project. It worked well for me: