One thing that you usually need to do when using Arquillian for testing is add some common dependencies to the microdeployment generated by Shrinkwrap. Basically what you do is using Maven resolver to get dependencies and add it as library.
That's good but the problem is that sometimes there are some libraries that are always added, and you need to repeat the same over and over again. One example of these libraries might be Configuration/Utils APIs like Apache Tamaya or DeltaSpike. And this problem is faced in Wildfly Swarm where they are adding automatically all the dependencies form pom automatically.
But we could generalize this into an extension which it reads pom.xml and by default adds all the dependencies that are of scope compile. We could add configuration parameters for excluding some artifacts, add dependencies of different scopes or build file location.
Also this extension would be able to detect if there is a pom.xml or build.gradle and resolve the dependencies accordantly.
So if this is done, Wildfly Swarm would be able to use it and fix the problem of running Arquillian with Gradle at the same time.