How to update revision in Ivy XML to custom value


(Thunder) #1

Hi ,

I have a requirement to update dependency version in Ivy file.
I tried to use
asNode().dependencies.dependency.findAll{it.@org().startsWith().‘com.company’}
but not working .
Please some one help me , spending days on this.

Thanks,


(Thunder) #2

def nodes = asNode().dependencies.dependency.findAll{it.@org().startsWith(‘com.company’)}

iterate over nodes and change whatever you want.