bmuschko / gradle-clover-plugin

Gradle plugin for generating a code coverage report using Clover
Apache License 2.0
74 stars 49 forks source link

Error running cloveraggregateReports #104

Closed alfrye closed 7 years ago

alfrye commented 7 years ago

I have a gradle multi project java project and when run cloverAggregateReports I am getting the following messsage: "Task 'cloverAggregateReports' not found in root project '"

Do I need to specify the task in my root project?

The plugin is creating a reports for each of my subprojects but I would like an aggregate report. I have this setup in my build.gradle

allprojects { apply plugin: "com.jfrog.artifactory" apply plugin: "com.bmuschko.clover" apply plugin: 'groovy' dependencies { clover 'org.openclover:clover:4.2.0' } }

Alex-Vol commented 7 years ago

I suspect the plugin was not properly applied or configured on the root project. Although you seem to use the allprojects iteration to apply it. It works fine on all my projects when I apply it correctly.

Are you specifying the allprojects iteration in the root project's build.gradle?

Alex-Vol commented 7 years ago

I am inclined to close this as "User error", I cannot reproduce this in any way. Feel free to attach more information or a way that you can make this happen to have me research further.