Hi:
I am new to gradle and wondering what’s is the best practice trying to setup exclusions like maven builds in gradle in large complicated classpath?
So the parent build.gradle looks like this. … libraries = [
‘cxf’…
‘credit’…
‘commons’:…
‘others’:[…, ‘xxx.xxx:xxx’, …]
]
The child project looks like this
dependencies {
compile libraries.‘credit’, libraries.‘cxf’, libraries.‘commons’, libraries.‘others’
testCompile libraries.‘credit’ }
The issue is that I need to set up exclusions for xxx and currently I can’t seem to find any doc showing how to do this.
Many Thanks.