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

targetExcludeFilename #2069

Open
xenoterracide opened this issue Mar 19, 2024 · 0 comments
Open

targetExcludeFilename #2069

xenoterracide opened this issue Mar 19, 2024 · 0 comments

Comments

@xenoterracide
Copy link

I'm going to speculate this is not the most efficient

  java {
    targetExclude("**/TransactionBeanPostProcessorTest.java")
    licenseHeader(copyright + javaLicense)
    cleanthat().addMutators(listOf("SafeAndConsensual", "SafeButNotConsensual"))
  }

I'd rather just write this, which would match that filename specifically.

targetExcludeFiles("TransactionBeanPostProcessorTest.java")

I have a problem where cleanThat can't currently handle java 21 code, and so I'm trying to make spotless skip it.

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