3.7.4 依赖继承 - Reference Documentation
Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith
Version: null
3.7.4 依赖继承
By default every Grails application inherits several framework dependencies. This is done through the line:Inside the
缺省情况下,每一个Grails应用都继承多个框架依赖,配置如下:inherits "global"BuildConfig.groovy file. To exclude specific inherited dependencies you use the excludes method:inherits("global") { excludes "oscache", "ehcache" }
inherits "global"BuildConfig.groovy文件中,你可以通过excludes方法来排除掉指定的依赖,比如:inherits("global") { excludes "oscache", "ehcache" }

