Loading
gradle: configure updateScript per major version
Previously the regex for updating Gradle matched any major version, resulting in version bumps like #504857 where gradle_8 was updated to 9.4.1. After this change, the version regexp is tagged to a specific major version. That way gradle_8 is only updated to versions that start with '8'. At the same time version updates are enabled for gradle_9 if they start with '9'. Last but not least, `nix-update-script` is now called with `--use-github-releases` because without it the updater defaults to using GitHub's releases Atom feed, and just returns the most recent releases, causing the gradle_8 update to fail because no matching release version could be found.