google-java-format-gradle-plugin icon indicating copy to clipboard operation
google-java-format-gradle-plugin copied to clipboard

Gradle reports NO-SOURCE instead of UP-TO-DATE

Open sherter opened this issue 7 years ago • 0 comments

Since v3.4 Gradle reports NO-SOURCE instead of UP-TO-DATE when everything is already formatted properly. This is due to our own caching mechanism, which injects the files that need to be formatted into the task right before the task is executed (the gradle caching mechanism doesn't allow us to tell that a file is up-to-date if it was changed in the first run). Functionality is not influenced by this in any way, but users might be irritated by this message. Let's see if we can somehow trick Gradle into reporting UP-TO-DATE instead...

sherter avatar Apr 14 '17 17:04 sherter