문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top