ben-manes / gradle-versions-plugin

Gradle plugin to discover dependency updates
Apache License 2.0
3.83k stars 200 forks source link

rejectVersionIf does not apply to gradle version #722

Closed matejdro closed 1 year ago

matejdro commented 1 year ago

It seems like Gradle release-candidate updates are exempt from the rejectVersionIf. From what I can see, config does not even get called for gradle version.

This results in plugin telling us to update gradle to RC versions, such as 8.0-rc-2, even though we have explicitly told the plugin to ignore everything that contains "rc".

ben-manes commented 1 year ago

yes, Gradle does not use a maven or ivy repository for itself so a resolutionStrategy does not apply. Instead you can simply set the release channel for those queries.

matejdro commented 1 year ago

Thanks, I totally missed that.