Replies: 1 comment 3 replies
-
|
hi! Thanks for explaining your intended use; makes sense indeed. I think this would have to be a dedicated recipe that can pull together a few existing ones like the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am currently trying to come up with a recipe.yml that reliably removes
checkstylegradle plugin and its configs from any givenbuild.gradle/build.gradle.kts.The whole use-case is to replace checkstyle plugin with spotless plugin .
From what I understand (see #5722), I can leverage the RemoveBuildPlugin and
RemoveExtensionto remove the plugin declaration + extension function.But what about usages like:
How can I make sure these kinds of checkstyle configs are removed as well?
Is it somehow possible to have a recipe that removes all usages of a given package? (I guess not, because from what I understand OpenRewrite has no idea where e.g.
Checkstyleclass originates from?)Beta Was this translation helpful? Give feedback.
All reactions