Keeping Gradle up-to-date

Posted on 2019-07-16
2 mins to read

Gradle is an awesome build tool, and I am always looking forward to new versions to enjoy the latest features, performance improvements and bug fixes.
Actually, forget what I’ve said about bugfixes: Gradle works like a charm.

I could just check Gradle’s distributions page periodically, or subscribe to their releases on GitHub to get notified about new versions faster.
And I actually do that from time to time when I need to know the latest available version.
But how can I keep Gradle up-to-date in the existing codebases?

I suppose, the easiest solution that does not involve using third-party services like Snyk (BTW, I am not sure they can track version of the build tool) is to automate the check in your CI pipeline.
Here is an example for GitLab: