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

I am getting ``` Caused by: org.gradle.api.reflect.ObjectInstantiationException: Could not create an instance of type com.diffplug.gradle.spotless.SpotlessExtensionImpl. at at org.gradle.internal.instantiation.generator.DependencyInjectingInstantiator.doCreate(DependencyInjectingInstantiator.java:70) at org.gradle.internal.instantiation.generator.DependencyInjectingInstantiator.newInstanceWithDisplayName(DependencyInjectingInstantiator.java:51) at org.gradle.internal.extensibility.DefaultConvention.instantiate(DefaultConvention.java:229) at org.gradle.internal.extensibility.DefaultConvention.create(DefaultConvention.java:150) at org.gradle.internal.extensibility.DefaultConvention.create(DefaultConvention.java:145) at com.diffplug.gradle.spotless.SpotlessPlugin.apply(SpotlessPlugin.java:53) ``` due...

bug-unconfirmed

When I run the spotless maven plugin `check` goal locally, it goes through fine. But in CI, specifically Jenkins, I always get errors: ``` [ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.43.0:check...

bug-unconfirmed

Since the Spotless Gradle plugin version 6.22.0 was released, I have not been able to use it in my Jenkins plugin which uses [the JPI plugin](https://github.com/jenkinsci/gradle-jpi-plugin) with (at a minimum)...

bug-unconfirmed

If you are submitting a **bug**, please include the following: Hi Team, We have a big side-effect of using DBeaver SQL formatter within spotless "as is". When I run this...

bug

[detailed log](https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/runs/10624416891/job/29452684161?pr=12147) Here is my [PR](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12147). ```Kotlin spotless { groovy { greclipse() licenseHeaderFile( rootProject.file("buildscripts/spotless.license.java"), "(package|import|(?:abstract )?class)" ) target("src/**/*.groovy") endWithNewline() } } ``` this is the fromatter i used: ```Kotlin groovy...

bug-unconfirmed

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.facebook:ktfmt](https://redirect.github.com/facebook/ktfmt) | `0.53` -> `0.55` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.facebook:ktfmt/0.55?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.facebook:ktfmt/0.55?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

With spotless gradle plugin 7.0.4 we are seeing the spotlessJava tasks keeps hanging in our CI environments. further investigation showed this seems like a concurrency issue. jstack gives me this...

While it's not possible to match git's behavior exactly, this attempts to read the system gitconfig correcting a regression from 6.21.0 to 6.22.0. This is a pretty ugly "fix" for...

### Discussed in https://github.com/diffplug/spotless/discussions/2403 Originally posted by **leeturner** January 17, 2025 Hi We have used spotless for quite a while now on the WireMock project. We use it to format...

bug-unconfirmed