【发布时间】:2014-02-07 09:45:11
【问题描述】:
我正在尝试在我的项目中配置 findbugs
findbugs {
ignoreFailures = true
reports {
html { enabled = true }
xml.enabled = !html.enabled
}
}
但是出现错误
Could not find method reports() for arguments
[quality_4gppo4hjtn3ur86ac71a18pai6$_run_closure2_closure4@6651ccf]
on root project 'Project'.
此代码在我之前的一个 Gradle 1.7 项目中使用过,并且可以正常工作。
【问题讨论】: