Use Gradle’ <Using dependency substitution rules> ...
# questions
m
Use Gradle’ Using dependency substitution rules to upgrade to Groovy 4 in your Grails 6 applications, I have tried this in 6.2.0, there will be runtime errors, which are related to the hibernate5 plugin
m
Yes, I'm getting this exception when starting a 6.2.0 app with Groovy 4.0.21:
Copy code
groovy.lang.MissingMethodException: No signature of method: org.grails.datastore.gorm.bootstrap.AbstractDatastoreInitializer.findEventPublisher() is applicable for argument types: (o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext) values: [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4d23015c, started on Fri Jun 14 08:26:26 CEST 2024, parent: application]