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

multi configuration same language #2070

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

multi configuration same language #2070

xenoterracide opened this issue Mar 19, 2024 · 0 comments

Comments

@xenoterracide
Copy link

So, due to an incompatibility down the stack with java 21 (at the time of this writing) I'm trying to have cleanThat skip a specific file. I'm not certain based on their docs if I can skip a specific file with this. Anyways, I tried this, hoping it might work (also tried adding a target)

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

yeah, that doesn't work, but could it? my hope was taking 2 passes, license header over everything, but clean that over most things. As it appears I'll have to choose to skip this one file entirely or remove clean that entirely (I doubt it finds problems for me anyways).

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