build.gradle file, task using << notation, intellij warns: “Cannot infer argument type”

后端 未结 5 2301
眼角桃花
眼角桃花 2021-02-19 00:42

I\'m new to groovy and gradle and was wondering whether someone knew why my scriplet wasn\'t working (edit actually it does work but the warning still appears). This section is

5条回答
  •  自闭症患者
    2021-02-19 01:14

    If you are willing to disable the Groovy > Assignment Issues > Incompatible type assignments inspection, the warning goes away.

提交回复
热议问题