spotless
spotless copied to clipboard
Keep your code spotless
If the plugin is applied to a [composite build](https://docs.gradle.org/current/userguide/composite_builds.html), the suggested command to fix spotless violations is incorrect. E.g.: Consider the setup below. ``` my-composite ├── settings.gradle ├── build.gradle └──...
Reported initially to gradle here: https://github.com/gradle/gradle/issues/25469. This appears to be getting caused by spotless when it reads .editorconfig
Summary: Gradle shows a deprecation warning when Spotless is used in a multi-module build with: ``` spotless { predeclareDepsFromBuildscript() } ``` Warning: Mutating configuration container for buildscript of root project...
- [x] summary of problem Using a kotlin closure for `custom` step no longer works in Gradle plugin - [x] Gradle or Maven version Gradle 8.12 - [x] spotless version...
## Summary of Problem: Encountered a NoSuchMethodError when trying to use the palantirJavaFormat() method in the Spotless configuration. The error suggests a version mismatch or compatibility issue between the Spotless...
Some of our formatters can't compile on Java 11 anymore, so supporting Java 11 at all is getting harder. We'll support it a while longer, but its days are numbered......
- [X] summary of problem `java.lang.NoClassDefFoundError` - [X] Maven version `4.0.0.RC2` - [X] spotless version: `maven plugin 2.44.0.BETA4` - [X] operating system and version `Windows 64 Pro/Java 21` The maven...
Hello! I am using the maven plugin v.2.43.0 with ktfmt When I specify `true` the `mvn spotless:apply` command fails with: `Unable to parse configuration of mojo com.diffplug.spotless:spotless-maven-plugin:2.43.0:apply for parameter manageTrailingCommas:...
If you are submitting a **bug**, please include the following: - [x] summary of problem When formatting an individual file using Spotless's IDE hook, repeatedly invoking `spotlessApply` fails to apply...
Closes #1186