bmuschko / gradle-clover-plugin

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

Update this project to use Gradle 4.x #106

Closed ghost closed 6 years ago

ghost commented 6 years ago

In order to update the plugin to support Gradle 4.x projects, this project should be updated to use Gradle 4.x

I have started a branch on my fork to address this but I am struggling with the classpath settings for the integration tests. Any assistance or pointers is appreciated.

siordache commented 6 years ago

It's difficult to split the Gradle 4.x problem in two separate issues, because in both cases you have to deal with the classesDir / classesDirs problem.

To get started do the following:

You can see the above changes in this commit on my fork.

These modifications eliminate the classpath problem, but you will still have 3 tests that fail with the error message 'Directory does not exist'.

From this point, you can start updating the plugin to support Gradle 4.x projects. Thank you for taking the time to tackle this issue. I really miss this feature and I'm pretty sure I'm not the only one.

Alex-Vol-SV commented 6 years ago

Closing as duplicate of issue #91

Alex-Vol commented 6 years ago

FYI, I released v2.2.0 with Gradle 4.x support. Try it out and let me know how it works for you.