Slackbot
07/19/2022, 1:54 AMtony
07/19/2022, 2:36 AMFleshgrinder
07/19/2022, 6:19 AMVampire
07/19/2022, 7:23 AMIt seems like it is going to stop working in gradle 8.0 due to gradle changes
It started with "will stop working in 5.0", so who knows. :-D And I guess latest when it really stops working some community member will eventually come up with a PR hopefully. There actually is an alternative, but I don't like it. https://jmfayard.github.io/refreshVersions/ I don't like it mainly for two reasons. 1. It does not natively support version catalogs, it requires to use version
_ in the version catalog and have the actual version in its proprietary file.
2. Yes, it is much faster than Bens plugin, but for the price of limited support. It does not support all repositories as it does not use the Gradle mechanisms. It looks up versions in Maven repositories itself, which makes is much faster, but in my opinion prone to wrong results and missing updates from other repository types.Thomas Broyer
07/19/2022, 8:34 AMVampire
07/19/2022, 9:03 AMBen Madore
07/19/2022, 2:43 PMVampire
07/19/2022, 2:46 PMVampire
07/19/2022, 3:07 PMforcing something this fundamental to be community-maintained featureActually I'm not really sure whether this is "that fundamental". For each update you should anyway read the release notes and breaking changes and so on. So it is pretty debatable whether this is something fundamental or not. But Gradle is also alwas open to PRs. I guess if someone would contribute this functionality to Gradle itself, there might be a chance it also makes it into the Gradle sources and then is maintained by Gradle themselves. But people continue to create new plugins for this purpose instead of contributing the feature to Gradle, so the opinion that it is that fundamental that it should be part of the core Gradle seems not to be strong enough. 🙂
Fleshgrinder
07/19/2022, 3:10 PMdependencies {
implementation("group:artifact:+")
implementation("group:artifact:1.+")
// etc.
}
gradle dependencies --write-locks # updates all dependencies
gradle dependencies --update-locks $group:$artifact # upgrades the GA (with wildcard support)
No idea how this could be used for plugins. 🤷Fleshgrinder
07/19/2022, 3:11 PMVampire
07/19/2022, 3:13 PM