Splitties / refreshVersions

Life is too short to google for dependencies and versions
https://splitties.github.io/refreshVersions/
MIT License
1.63k stars 107 forks source link

RefreshVersions task recommends upgrades to Gradle pre-release versions #682

Open GeorgEchterling opened 1 year ago

GeorgEchterling commented 1 year ago
The Gradle version used in this project is not up to date.
To update from version 8.0.2, run this command:
./gradlew wrapper --gradle-version 8.1-rc-1

Version 8.0.2 is up-to-date. I don't want to upgrade to pre-release versions. Since I always get this message, I cannot rely on the plugin to notify me about actual Gradle releases in the 8.0.x line.

⚠️ Current behavior

The plugin always recommends upgrading Gradle to the latest (pre-release) version.

✅ Expected behavior

The plugin should only recommend upgrades to Gradle versions that have the same or higher stability level.

💣 Steps to reproduce

GeorgEchterling commented 1 year ago

The plugin does actually recommend the latest release as well as the latest RC:

The Gradle version used in this project is not up to date.
To update from version 7.6.1, run one of these commands:
./gradlew wrapper --gradle-version 8.1.1
./gradlew wrapper --gradle-version 8.2-rc-1

I think recommending both is fine. However, the recommendation message to upgrade from the latest release to the latest RC should be reworded. ("The Gradle version used in this project is not up to date.")