Skip to content

Task GenerateReportTask failure #177

@chirag-ji

Description

@chirag-ji

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions