nuhkoca
09/25/2022, 1:49 AMJaCoCo
report location changed in Gradle 7.5.1
? It used to be created in jacoco
in build
folder but after Gradle
upgrade, I can’t locate it.Vampire
09/25/2022, 12:08 PMjacoco
in reports
in build directory.nuhkoca
09/25/2022, 12:58 PM$buildDir/jacoco/testDebugUnitTest.exec
before but now it’s located in $buildDir/outputs/unit_test_code_coverage/debugUnitTest/testDebugUnitTest.exec
I just did upgrade Gradle from 7.4.2
to 7.5.1
Vampire
09/25/2022, 1:47 PMtask.setDestinationFile(buildDirectory.map(buildDir -> new File(buildDir, "jacoco/" + task.getName() + ".exec")))
I guess you also updated some plugin that reconfigures JaCoCo now and didn't before.nuhkoca
09/25/2022, 7:12 PMGradle
and AGP
. BTW how do you see below, I’d like to check, as well?
task.setDestinationFile(buildDirectory.map(buildDir -> new File(buildDir, "jacoco/" + task.getName() + ".exec")))
Vampire
09/25/2022, 9:03 PM