-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exportDatatables not working with jdk23 and gradle 8.10 as observed #618
exportDatatables not working with jdk23 and gradle 8.10 as observed #618
Comments
followed the instructions as at https://docs.openrewrite.org/recipes/java/spring/boot3/upgradespringboot_3_2 |
same for me. JDK 21, Gradle 8.10.2
|
Hi both; thanks for the report! I've tried to replicate this with the spring-projects/spring-petclinic build.grade, but when I add the following I see no such issues: diff --git a/build.gradle b/build.gradle
index a5175df..0f44c44 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,6 +6,8 @@ plugins {
id 'org.cyclonedx.bom' version '1.10.0'
id 'io.spring.javaformat' version '0.0.43'
id "io.spring.nohttp" version "0.0.11"
+
+ id("org.openrewrite.rewrite") version("6.26.0")
}
apply plugin: 'java'
@@ -53,6 +55,13 @@ dependencies {
testImplementation 'org.testcontainers:mysql'
checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:${springJavaformatCheckstyleVersion}"
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"
+
+ rewrite("org.openrewrite.recipe:rewrite-spring:5.22.0")
+}
+
+rewrite {
+ activeRecipe("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_2")
+ exportDatatables = true
} Do note that this is with |
I've given it a quick try and indeed
|
openrewrite/rewrite-recipe-markdown-generator@7321b36
Script compilation error:
Line 65: exportDatatables = true
^ Cannot access 'exportDatatables': it is private in 'RewriteExtension'
1 error
The text was updated successfully, but these errors were encountered: