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

Feature request: Report Modernizer issues also via Gradle Problems API #7

Open
howlger opened this issue Nov 30, 2024 · 1 comment
Open

Comments

@howlger
Copy link

howlger commented Nov 30, 2024

It seems that the Modernizer issues are only logged (here?) and it would be nice if the violations/problems found by the Modernizer would also be reported via the Gradle Problems API.

This would enable the upcoming Eclipse Java IDE 2024-12 to display Modernizer issues in the Problems view, making them easier to navigate.

@andygoossens
Copy link
Owner

One day I would like to add support for the Problems API. Currently I do not have much time, and adding support for Incubating API might not be the best use of my time.

This might raise the minimum Gradle version that the plugin would require, unless I can fall back to the old way of logging for older Gradle versions.

And I need to figure out what to do with Modernizer's violationLogLevel property. Should that be mapped to a org.gradle.api.problems.Severity value? Should I introduce a new violationSeverity property?

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

2 participants