'dependencies' cannot be applied to '(groovy.lang.Closure)'

前端 未结 15 2788
旧巷少年郎
旧巷少年郎 2020-11-30 01:28

I am unable to fix this error:

dependencies cannot be applied to \'(groovy.lang.Closure)

This is my gradle file:

buildscrip         


        
15条回答
  •  再見小時候
    2020-11-30 01:52

    Go to

    Windows

    File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle

    Mac

    Preference -> Build, Execution, Deployment -> Build Tools -> Gradle

    and select Use default gradle wrapper

提交回复
热议问题