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

Exception when configuring tests #55

Open
ColOfAbRiX opened this issue Jul 22, 2021 · 4 comments
Open

Exception when configuring tests #55

ColOfAbRiX opened this issue Jul 22, 2021 · 4 comments

Comments

@ColOfAbRiX
Copy link

If I add a configuration for testing, even if empty like:

wartremover {
  test {}
}

I get this exception and I can't configure tests:

> Failed to notify project evaluation listener.
   > java.lang.AbstractMethodError (no error message)

I'm using Scala 2.12.14, Gradle 6.6.1, gradle-wartremover 0.14.2

@augi
Copy link
Owner

augi commented Jul 22, 2021

Hello, could you please try it in Gradle 7.x? 🙏

@ColOfAbRiX
Copy link
Author

ColOfAbRiX commented Jul 22, 2021

I'm afraid we don't plan to upgrade to gradle 7 anytime soon.
And thanks for your quick replies :)

@augi
Copy link
Owner

augi commented Jul 23, 2021

Hello, unfortunately, we have all the projects in Gradle 7.x and the plugin works well there. As Gradle upgraded Groovy version when switching from 6.x to 7.x, maybe there is no workaround. It would be valuable if you could provide a Git repo with a minimal project to demonstrate the bug 🙏

@ColOfAbRiX
Copy link
Author

The other day I had a quick look at past commits (down to version 0.12.0) and the code where this error seems to happen appear unchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants