这是indexloc提供的服务,不要输入任何密码
Skip to content

Error when execute any tasks in Gradle 6.3 #53

@dbuos

Description

@dbuos

When I execute gradle generateModel --name=[name] in gradle version > 6 (6.3), the plgin fails with following error:

  • Where:
    Build file '/Users/daniel/Projects/banco/dojo-reactive/build.gradle' line: 23

  • What went wrong:
    An exception occurred applying plugin request [id: 'net.saliman.cobertura', version: '3.0.0']

Failed to apply plugin [id 'net.saliman.cobertura']
Could not create task ':generateCoberturaReport'.
> Could not create task of type 'GenerateReportTask'.
> No signature of method: static org.gradle.util.DeprecationLogger.whileDisabled() is applicable for argument types: (net.saliman.gradle.plugin.cobertura.GenerateReportTask$1) values: [net.saliman.gradle.plugin.cobertura.GenerateReportTask$1@1a5e6363]

  • 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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2s

FAILURE: Build failed with an exception.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions