diff --git a/build.gradle.kts b/build.gradle.kts index fd0e623..7480909 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ group = "org.openrewrite.recipe" description = "Hibernate ORM Migration" recipeDependencies { - parserClasspath("javax.persistence:javax.persistence-api:2.+") + parserClasspath("jakarta.persistence:jakarta.persistence-api:latest.release") parserClasspath("org.hibernate.orm:hibernate-core:6.5.1.Final") } diff --git a/src/main/resources/META-INF/rewrite/classpath/jakarta.persistence-api-3.2.0.jar b/src/main/resources/META-INF/rewrite/classpath/jakarta.persistence-api-3.2.0.jar new file mode 100644 index 0000000..8db2b07 Binary files /dev/null and b/src/main/resources/META-INF/rewrite/classpath/jakarta.persistence-api-3.2.0.jar differ diff --git a/src/main/resources/META-INF/rewrite/classpath/javax.persistence-api-2.2.jar b/src/main/resources/META-INF/rewrite/classpath/javax.persistence-api-2.2.jar deleted file mode 100644 index 164ef3a..0000000 Binary files a/src/main/resources/META-INF/rewrite/classpath/javax.persistence-api-2.2.jar and /dev/null differ