dweiss commented on code in PR #13164: URL: https://github.com/apache/lucene/pull/13164#discussion_r1515607191
########## gradle/testing/randomization.gradle: ########## @@ -119,6 +119,18 @@ allprojects { // Resolve test option values after all evaluation is complete. allprojects { plugins.withType(JavaPlugin) { + configurations { + secManagerExclusions + } + dependencies { + secManagerExclusions ( "com.carrotsearch.randomizedtesting:randomizedtesting-runner", { + exclude group: "junit" + }) + secManagerExclusions ( "junit:junit", { + exclude group: "org.hamcrest" + }) + } + Review Comment: I think it's simpler this way - we resolve classpath/ module paths independently, with different source sets... it's quite complicated. These properties are only needed for two dependencies and we know their versions will be consistent with whatever shows up on classpath/ module path so I didn't bother trying to figure out how to do this in a generic way. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org