risdenk commented on code in PR #4038: URL: https://github.com/apache/solr/pull/4038#discussion_r2683278847
########## 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: `./gradlew resolveAndLockAll --write-locks` I pulled that from dev-docs/gradle-help/dependencies.txt since I ran into the same issues as you with just `--write-locks` the other day playing with this. -- 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]
