3.7.3 调试解析 - Reference Documentation
Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith
Version: null
3.7.3 调试解析
If you are having trouble getting a dependency to resolve you can enable more verbose debugging from the underlying engine using the A common issue is that the checksums for a dependency don't match the associated JAR file, and so Ivy rejects the dependency. This helps ensure that the dependencies are valid. But for a variety of reasons some dependencies simply don't have valid checksums in the repositories, even if they are valid JARs. To get round this, you can disable Ivy's dependency checks like so:This is a global setting, so only use it if you have to.
如果你解析依赖遇到了问题的话,你可以使用基本的log method:// log level of Ivy resolver, either 'error', 'warn',
// 'info', 'debug' or 'verbose'
log "warn"grails.project.dependency.resolution = {
…
log "warn"
checksums false
…
}log方法来显示更多的调试信息:// log level of Ivy resolver, either 'error', 'warn',
// 'info', 'debug' or 'verbose'
log "warn"grails.project.dependency.resolution = {
…
log "warn"
checksums false
…
}
