Renaming ivy.xml

We have a local ivy repository where ivy-module.xml is used instead of ivy.xml.

I have an “uploadArchives” publishing task that working however I’d like to fine tune it by specifying that “ivy.xml” should be call “ivy-module.xml” instead…how can that be done?