Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OC-17 Gradle plugin can't instrument source sets which do have more than 1 src directory #17

Open
marek-parfianowicz opened this issue Dec 15, 2019 · 1 comment
Milestone

Comments

@marek-parfianowicz
Copy link
Member

Thanks for making this happen. I'm excited at the prospect of using this.

When using the gradle plugin (commit d203d2e824fc) in a groovy project, the plugin reports this:

:grooves-groovy:cloverInstrument FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':grooves-groovy:cloverInstrument'.

Clover sourceSet can't have more than 1 src directory

Grzegorz Lewandowski:

Thanks for raising this, I was aware of this limitation but I've never raised an issue to cover this. However, the limitation rather apply to Java code since Gradle plugin at its current state is not able to handle Groovy code. It's because Groovy instrumentation happens during compilation time via AST transformations. Adding Groovy support is on our list but firstly we need to solve blockers in regards of OpenClover for Maven and Gradle -> Java instrumentation.

@marek-parfianowicz
Copy link
Member Author

Original report: https://bitbucket.org/openclover/clover/issues/17

@marek-parfianowicz marek-parfianowicz added this to the 4.7.0 milestone Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant