Closed mambon2 closed 11 years ago
I second this problem with 1.7 release.
I'll take a crack at this and will submit a pull request if I can sort it in a reasonable amount of time.
That would be great. Thanks for taking this on.
It appears in Gradle 1.7 (w/ Groovy 1.8.6) the outfile arguments of writeReport are of type GString. I'll set up a pull request here in a sec.
I see the fix is in. thanks. When can we have the new release?
Fixed by pull request #30.
This now breaks for AggregateReportsTask
Caused by: org.gradle.api.GradleException: Could not call AggregateReportsTask.writeReport() on task ':cloverAggregateReports' at org.gradle.util.JavaMethod.invoke(JavaMethod.java:71) at org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:295) at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:136) at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147) at org.gradle.api.plugins.clover.AggregateReportsTask_Decorated.invokeMethod(Unknown Source) at org.gradle.api.plugins.clover.AggregateReportsTask.aggregateReports(AggregateReportsTask.groovy:63) at org.gradle.api.plugins.clover.AggregateReportsTask.start(AggregateReportsTask.groovy:38) at org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:248) at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:136) at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147) at org.gradle.api.plugins.clover.AggregateReportsTask_Decorated.invokeMethod(Unknown Source) at org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:248) at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:136) at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147) at org.gradle.api.plugins.clover.AggregateReportsTask_Decorated.invokeMethod(Unknown Source) at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:220) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:213) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:202) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:530) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:513) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61) ... 50 more Caused by: java.lang.IllegalArgumentException: argument type mismatch at org.gradle.util.JavaMethod.invoke(JavaMethod.java:62) ... 72 more
This plugin seems to break in Gradle 1.7-rc2. Here is my stacktrace of the exception
Execution failed for task ':cloverGenerateReport'.