anshumg commented on code in PR #4038: URL: https://github.com/apache/solr/pull/4038#discussion_r2683492861
########## solr/modules/jwt-auth/build.gradle: ########## @@ -19,12 +19,21 @@ apply plugin: 'java-library' description = 'JWT / OpenID Connect / OAuth2 authentication plugin' +// This is a hacky way to use permitTestUnusedDeclared with bom declared dependencies. +// See https://github.com/gradle-dependency-analyze/gradle-dependency-analyze/issues/108 +configurations { + constraintsOnly + permitTestUnusedDeclared.extendsFrom constraintsOnly + implementation.extendsFrom constraintsOnly +} + dependencies { - implementation platform(project(':platform')) - implementation platform(libs.fasterxml.jackson.bom) + constraintsOnly platform(project(':platform')) + constraintsOnly platform(libs.fasterxml.jackson.bom) Review Comment: Thanks Jan! -- 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]
