Groovy Documentation

org.ajoberstar.gradle.jacoco
[Groovy] Class JacocoAgentJar

java.lang.Object
  org.ajoberstar.gradle.jacoco.JacocoAgentJar

class JacocoAgentJar

Helper to resolve the jacocoagent.jar from inside of the org.jacoco.agent.jar.


Constructor Summary
JacocoAgentJar(Project project, FileCollection agentConf)

Constructs a new agent JAR wrapper.

 
Method Summary
java.io.File getJar()

Unzips the resolved org.jacoco.agent.jar to retrieve the jacocoagent.jar.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

JacocoAgentJar

JacocoAgentJar(Project project, FileCollection agentConf)
Constructs a new agent JAR wrapper.
Parameters:
project - a project that can be used to resolve files
agentConf - the configuration that the agent JAR is located in


 
Method Detail

getJar

java.io.File getJar()
Unzips the resolved org.jacoco.agent.jar to retrieve the jacocoagent.jar.
Returns:
a file pointing to the jacocoagent.jar


 

Groovy Documentation