We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e45c6f commit 53f3fcfCopy full SHA for 53f3fcf
gradle/spotless.gradle
@@ -17,7 +17,10 @@ spotless {
17
java {
18
ratchetFrom 'origin/main'
19
bumpThisNumberIfACustomStepChanges(1)
20
- cleanthat().version("2.4").sourceCompatibility("11").clearMutators().addMutators(['RSPEC-6212'])
+ // `setMutators` will discard default mutators
21
+ // https://sonarsource.atlassian.net/browse/RSPEC-6212
22
+ cleanthat().version("2.9").sourceCompatibility(project.sourceCompatibility.toString()).clearMutators()
23
+ .addMutator('RSPEC-6212')
24
licenseHeaderFile rootProject.file('gradle/spotless.license')
25
importOrderFile rootProject.file('gradle/spotless.importorder')
26
eclipse().configFile rootProject.file('gradle/spotless.eclipseformat.xml')
0 commit comments