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,
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,
def nodes = asNode().dependencies.dependency.findAll{it.@org().startsWith(‘com.company’)}
iterate over nodes and change whatever you want.