nrknithin commented on code in PR #2210:
URL:
https://github.com/apache/incubator-kie-kogito-examples/pull/2210#discussion_r3239673573
##########
gradle-examples/kogito-springboot-gradle-examples/dmn-springboot-gradle/build.gradle:
##########
@@ -33,6 +33,10 @@ repositories {
mavenLocal()
}
+// Pin Groovy 4 to match the Maven side: RestAssured 5.5.6 is compiled against
Groovy 4 and trips
+// a NullPointerException under Groovy 5. TODO drop when RestAssured ships a
Groovy 5 release.
+ext['groovy.version'] = '4.0.29'
Review Comment:
@yesamer SB 3.5's BOM shipped Groovy 4.x; SB 4.0.5's ships Groovy 5.x.
RestAssured 5.5.6 (pinned by kogito-dependencies-bom) is compiled against
Groovy 4 and throws a NullPointerException in MetaClassImpl.getMetaProperty
under Groovy 5 — so under SB 4 we pin Groovy 4.0.29 to match what the Maven
side does in kogito-spring-boot-bom. The NPE is inside RestAssured's own code
(not ours), so the pin drops when they ship a Groovy 5–compatible release.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]