spotless icon indicating copy to clipboard operation
spotless copied to clipboard

Keep your code spotless

Results 344 spotless issues
Sort by recently updated
recently updated
newest added

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 └──...

bug

Reported initially to gradle here: https://github.com/gradle/gradle/issues/25469. This appears to be getting caused by spotless when it reads .editorconfig

bug

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...

bug

- [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...

bug

## 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...

bug-unconfirmed

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......

breaking

- [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...

bug-unconfirmed

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:...

bug-unconfirmed

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...

bug