gradle-cobertura-plugin
gradle-cobertura-plugin copied to clipboard
Task GenerateReportTask failure
Hi,
On gradle 7.3.3
with JDK 17, a task is being failed while running gradle cobertura
.
A problem was found with the configuration of task ':generateCoberturaReport' (type 'GenerateReportTask').
- In plugin 'net.saliman.cobertura' type 'net.saliman.gradle.plugin.cobertura.GenerateReportTask' property 'reports' annotated with @Internal should not be also annotated with @Nested.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
I have following script: build.gradle
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.saliman:gradle-cobertura-plugin:4.0.0"
}
}
apply(plugin: "net.saliman.cobertura")
Please have a look.
Thanks :)
Duplicate with #176. I also have the same problem in gradle 7.1 version.