Lance_Java
(Lance Java)
September 8, 2016, 9:56pm
2
I haven’t taken the time to fully grok your issue but I had issues with jacoco on Windows with backslashes which was solved by replacing with forward slashes
More info here
I’m using the approach mentioned here to generate a gradle.properties file which I use in my testKit test
eg:
configurations {
jacocoRuntime
}
dependencies {
jacocoRuntime "org.jacoco:org.jacoco.agent:${jacoco.toolVersion}:runtime"
}
task createTestkitFiles {
def outputDir = file("$buildDir/testkitFiles")
inputs.files configurations.jacocoRuntime
outputs.dir outputDir
doLast {
outputDir.mkdirs()
file("$outputDir/testkit-gradle.properties").text = "org.gradle.jvmargs=-javaagent:${co…
1 Like