Gradle 7.1
jacoco {
toolVersion = "0.8.5"
reportsDir = file("$buildDir/jacoco")
}
How to replace the statement with reportsDir to hide warning about deprecated feature?
Gradle 7.1
jacoco {
toolVersion = "0.8.5"
reportsDir = file("$buildDir/jacoco")
}
How to replace the statement with reportsDir to hide warning about deprecated feature?
Have you tried checking the plugin's documentation? As you can see here the reportsDir property seems to have been replaced by reportsDirectory.
Also the JacocoPluginExtension documentation mentions that the reportsDirectory property is the one to be used for setting the output directory.