Domanda

I have a project that publishes two artifacts to a Maven repo with Gradle.

I would like to publish a third "empty" artifact that could serve as a meta/virtual package for the other two, so that any other project could reference just the meta artifact as a dependency and get the two real dependencies.

Is this possible? I couldn't find anything similar to what I need in the docs. Thanks in advance.

È stato utile?

Soluzione

Maven BOMs aren't currently supported by Gradle. You might be able to publish one, but consuming it from Gradle won't have the desired effect.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top