Gradle cargoUndeployRemote multiple artifacts

Hi there

I wanted to undeploy remotely several war files. (only undeploy. not deploy). The target application server is wildfly 9. How do I specify the war files and /or ear files in my gradle script?

I am using cargoUndeployRemote in my build.gradle

You can define multiple deployable artifacts as described in the README in section “I would like to deploy multiple artifacts to my container. How do I do that?”. Did that not work for you? The same configuration should apply to undeploying artifacts.