How to do jacoco dump from remote JBoss

Hello all,

I couldn’t find this topic through the search so I started a new topic.

I would like to generate a code coverage report of our application, but unfortunately I cannot figure out how to do this with Gradle.
I have the application running in a JBoss 7 with the javaagent attached.

and would like to do a dump and report from a Gradle task through the Jacoco Plugin. Don’t know, if it is possible anyway. I know it works through ANT, but since there is a plugin for Gradle, I expect there must be some way to do it.

Can anyone help me with this, as I’m stucked at the moment :-/

Thanks in advance!