spotless
spotless copied to clipboard
Keep your code spotless
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.code.gson:gson](https://redirect.github.com/google/gson) | `2.11.0` -> `2.13.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
Scalafmt binaries (JARs) are supposed to parse the version declared in the config file and use this version to dynamically download the appropriate scalafmt release to then run. This behaviour...
When running spotless with CC enabled and using predeclare, we still see this error reported: ``` Caused by: org.gradle.api.GradleException: Add a step with [com.google.googlejavaformat:google-java-format:1.26.0] into the `spotlessPredeclare` block in the...
In our company we have the situation that we need to load the P2 artifacts required by Eclipse JDT from a custom JFrog Artifactory registry. We have the following two...
Continuation of #2343. This PR enables a user to add Eclipse preferences in XML format, as content, without having it in a file.
We have a zero dependency 100% Java XML formatter here which respects the same configuration options as `prettier` but does not require `npm` and dealing with npm install especially in...
After upgrading to version 7, spotless just kept crashing when linting Scala in spotlessCheck/Apply, with a cryptic error message: ``` There were 411 lint error(s), they must be fixed or...
With https://github.com/palantir/palantir-java-format/pull/1211 (shipped in palantir-java-formatter 2.57.0) the formatter can be executed as native Graal image. Such an option is provided through the gradle property `palantir.native.formatter=true` however that should also be...
Does this support Android? --- EDIT BY @nedtwigg, TOP COMMENT FOR VISIBILITY On Android, your config file needs to look like this: ```gradle spotless { java { target "src/*/java/**/*.java" //...
**summary of problem** When java text blocks (multi line strings) are used in the code and when indentWithTabs(2) and indentWithSpaces(4) both the rules are included then the gradle task gets...