dejan2609 commented on code in PR #23824:
URL: https://github.com/apache/kafka/pull/23824#discussion_r4296574229
##########
build.gradle:
##########
@@ -3949,7 +3949,10 @@ project(':connect:runtime') {
tasks.register('genConnectOpenAPIDocs',
io.swagger.v3.plugins.gradle.tasks.ResolveTask) {
dependsOn setVersionInOpenAPISpec
- classpath = sourceSets.main.runtimeClasspath
+ // swagger-jaxrs2 is built against ClassGraph 4.x, so keep the runtime's
ClassGraph 5.x jars off this classpath
+ // and let the swagger configuration supply its own ClassGraph version.
+ // This workaround can be dropped once a Swagger release supports
ClassGraph 5.x.
Review Comment:
ℹ️ Related Swagger issue:
https://github.com/swagger-api/swagger-core/issues/5351
--
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]