diff --git a/build.gradle b/build.gradle index 465a31c6d..d9b14ef0e 100644 --- a/build.gradle +++ b/build.gradle @@ -303,7 +303,10 @@ checkstyle { spotless { // optional: limit format enforcement to just the files changed by this feature branch - ratchetFrom 'master' + // ratchetFrom 'master' + + // Enable diff check + diffCheck('HEAD') format 'misc', { // define the files to apply `misc` to