On 10/04/2013, at 1:44 AM, think wu <[email protected]> wrote: > > GRADLE-2742 > > For now (Gradle 1.5), I have to do this: > runtime('commons-vfs:commons-vfs:1.0') { > exclude group: 'commons-logging', module: 'commons-logging' > } > > runtime("org.springframework:spring-webmvc:$springVer") { > exclude group: 'commons-logging', module: 'commons-logging' > } > But there's a better solution in Grails, looks like: > > runtime('commons-vfs:commons-vfs:1.0', > "org.springframework:spring-webmvc:$springVer") { > exclude group: 'commons-logging', module: 'commons-logging' > } > > I'd like to bring this syntax to Gradle. What do you think about it?
Why don't you just use a configuration-level exclude? runtime.exclude group: 'commons-logging', module: 'commons-logging' -- Adam Murdoch Gradle Co-founder http://www.gradle.org VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com Join us at the Gradle Summit 2013, June 13th and 14th in Santa Clara, CA: http://www.gradlesummit.com
