Open asibross opened 1 week ago
Thanks for the report @asibross ! Indeed seems like we're misinterpreting the version for that particular notation. Would you want to help resolve the issue by opening a draft PR that adds a unit test first? UpgradeDependencyVersionTest.java has a few examples already that should be easy to copy and adjust to match your case.
Just to tack on here, but I'm positive that this same thing would happen for latest.integration
as well. So the fix is probably just covering those two SemVer types as no upgrade available edge cases.
This exception was thrown:
When using a gradle dependency with map notation and latest.release version. For example:
When using String notation things work as expected:
What version of OpenRewrite are you using?
rewrite-core
version: 8.40.2How are you running OpenRewrite?
I am using the Gradle init script.