hey folks - we're looking to automate updating of ...
# community-support
a
hey folks - we're looking to automate updating of our source file copyright/etc headers and I was wondering if anyone has info on the best way to accomplish this? We've got a gradle/jenkins environment and are considering something like a gradle plugin that executes a pre-merge hook on CI or something like that to run a script to update the headers. Just wondering if there's a conventional way to do this or not.
t
I use Spotless to manage my copyright/license header but I'm not sure if that's what you're asking about. https://github.com/diffplug/spotless/tree/main/plugin-gradle#license-header
a
thanks Thomas! I'll look into it 🙂