On Thu, Aug 22, 2024 at 3:25 AM Dawid Weiss <dawid.we...@gmail.com> wrote: > > What would be the drawbacks / risks for allowing multiple versions of the > > same library in case of transitive dependencies and their resolution? > > > > The drawback is that you'd end up having multiple JARs on the classpath - > their ordering will affect class resolution, so probably not acceptable.
I wasn't expecting that. There isn't a singular "classpath" (DependencySet? in Gradle). I think there are multiple "classpaths" for many things (e.g. compiling main sourceSet vs compiling test sourceSet) for each module (many modules). But every classpath produced by Gradle (DependencySet) should have one version of a given dependency (group+artifactId). --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org For additional commands, e-mail: dev-h...@solr.apache.org