Skip to content

Prohibit use of APIs that prevent task configuration avoidance in Gradle plugin's main source code #29809

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

Closed
wilkinsona opened this issue Feb 14, 2022 · 0 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@wilkinsona
Copy link
Member

We've had a few goes at using Gradle's configuration avoidance APIs, but #29762 shows that we've missed or regressed things in a few places. It would be good to try to prohibit the use of the APIs that prevent configuration avoidance. Checkstyle won't help as the necessary type information isn't available. Archunit is an option though as it has full type information available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant