spotless icon indicating copy to clipboard operation
spotless copied to clipboard

7.0.1 of the gradle plugin breaks configuration caching due to "an input to an unknown location has changed"

Open ZacSweers opened this issue 11 months ago • 5 comments

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

ZacSweers avatar Jan 31 '25 05:01 ZacSweers

@ZacSweers Are you using ktfmt by any chance? I think this happens with ktfmt but not ktlint.

runningcode avatar Jun 18 '25 11:06 runningcode

I am yeah. Reproduces constantly in GitHub.com/zacsweers/metro

ZacSweers avatar Jun 18 '25 13:06 ZacSweers

Is there a reproducer for this in spotless? We are trying to improve the Gradle error message, but no clue yet on a reproducer.

abstratt avatar Aug 20 '25 01:08 abstratt

Ok, I see now ./gradlew spotlessApply shows this for https://github.com/zacsweers/metro

abstratt avatar Aug 20 '25 01:08 abstratt

Maybe this helps someone: https://github.com/gradle/gradle/issues/25469#issuecomment-3444231151

jjohannes avatar Oct 24 '25 17:10 jjohannes