Automating Gradle dependency updates with GitHub Actions
Friday, June 5, 2020
Using Gradle’s dependency locking feature we can create an automated process to periodically create a pull request for dependency updates.
See an example pull request using the method outlined in this article.
Configuring dependency locking Firstly, make sure the gradle wrapper is up to date. This is necessary in order to use the feature preview in the next step.
gradle wrapper --gradle-version 6.5 Enable the ONE_LOCKFILE_PER_PROJECT feature preview in settings.