You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a --no-daemon command line parameter to second invocation resolves the issue; which hints that daemon somehow caches file contents, or doesn't treat it as an input to Gradle task.
summary of problem
Steps to reproduce:
enable Gradle daemon
run
./gradlew spotlessCheckwith some failing rule.disable said rule in
.editorconfigrun
./gradlew spotlessCheckagain.Expected: check passes.
Actual: check fails again.
Adding a
--no-daemoncommand line parameter to second invocation resolves the issue; which hints that daemon somehow caches file contents, or doesn't treat it as an input to Gradle task.Gradle or Maven version
Gradle 8.4, 8.5
spotless version
Spotless 6.23.1
operating system and version
macos Sonoma, 14.1.1