IntelliJ IDEA and Gradle - Cannot be applied to '(groovy.lang.Closure)'

后端 未结 8 565
感情败类
感情败类 2021-02-03 17:09

I have a Gradle file which, whenever I load open it in IntelliJ IDEA 14.1.5, shows IDE errors for the entire file. Namely all the errors seem to be either:

java.

8条回答
  •  执念已碎
    2021-02-03 17:34

    For the first part of the question: group is a property, so there must be an assignment, not a function call. The right code is:

    group = 'com.me.blah'
    

提交回复
热议问题