JRHey! This definitely assumes the rest of the project already has spotless applied to it. You could consider modifying the script / your project with the following: https://github.com/diffplug/spotless/tree/main/plugin-gradle#ratchetReply·Article·Nov 18, 2024·How To Format Only Staged Files With Spotless