Closed aakash-pinc closed 6 months ago
Moderne.io
Java 17 Migration recipe is not upgrade Gradle wrapper to supported version as per Gradle-Java-Compatibility Matrix
Create a Gradle (4.x) project with JDK 8. Now run the Java 17 migration recipe and you will notice Gradle wrapper is not upgraded to 7.3+.
No
Thanks for the suggestion @aakash-pinc ! Picked up in https://github.com/openrewrite/rewrite-migrate-java/commit/907ac1c1c6b99d9e4b2a8ff4875c1d8e7e15b1a3 , which is available after a redeploy of the recipes.
How are you running OpenRewrite?
Moderne.io
Problem Statement
Java 17 Migration recipe is not upgrade Gradle wrapper to supported version as per Gradle-Java-Compatibility Matrix
What is the smallest, simplest way to reproduce the problem?
Create a Gradle (4.x) project with JDK 8. Now run the Java 17 migration recipe and you will notice Gradle wrapper is not upgraded to 7.3+.
Are you interested in [contributing a fix to OpenRewrite]
No