spotless
spotless copied to clipboard
removeUnusedImports does nothing
I have a demo project that I've recently started. I generated some stubs from the OpenAPI spec using the Gradle plugin for that, and the code had some unused imports. I have configured Spotless to remove unused imports here, but it's not happening. I don't see any errors when I run spotlessApply, and if I add the --info flag I don't see any mention of import in the output.
Project details:
Gradle wrapper 8.14
Spotless plugin version 7.2.1
Default version of palantirJavaFormat
I have the same problem with Spotless 8.0.0