`UpgradeSpringBoot_3_2` changes `build.gradle` `sourceCompatibility` and `targetCompatibility` from 21 back to 17
aholland opened this issue · comments
Anthony Holland commented
Title says it all - sorry for the brief report! Also I think they should ideally be JavaVersion.21 in Gradle 8.5 (to be fair you might already be detecting which convention to use - I had a plain 21
before I ran the script).
Tim te Beek commented
You're right, that's a bug; pending a fix & release you might want to run this recipe instead, as that uses Java 21
https://docs.openrewrite.org/recipes/java/spring/boot3/springboot3bestpractices
Tim te Beek commented
Picked up in