Thanks! it works!!. i needed to add the following block:
repositories { mavenCentral() } in order to fix a missing dependency error.
it will be nice if you can add some details about what each part does and maybe how to exclude paths/modules from the coverage report.
I also added the same but for JacocoCoverageVerification as follows:
tasks.register< JacocoCoverageVerification >("jacocoRootVerification") {
violationRules { rule { limit { minimum = "0.8".toBigDecimal() } } rule { limit { counter = "BRANCH" minimum = "0.7".toBigDecimal() } } subprojects { this@subprojects.plugins.withType<JacocoPlugin>().configureEach { this@subprojects.tasks.matching { it.extensions.findByType<JacocoTaskExtension>() != null } .configureEach { sourceSets(this@subprojects.the<SourceSetContainer>().named("main").get()) executionData(this) } } } }
}
still trying to figure out how to exclude some paths from the report and the coverage calculation.
And again, thank you very much!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks! it works!!.
i needed to add the following block:
repositories {
mavenCentral()
}
in order to fix a missing dependency error.
it will be nice if you can add some details about what each part does and maybe how to exclude paths/modules from the coverage report.
I also added the same but for JacocoCoverageVerification as follows:
tasks.register< JacocoCoverageVerification >("jacocoRootVerification") {
}
still trying to figure out how to exclude some paths from the report and the coverage calculation.
And again, thank you very much!