gradle error: > Publishing is not yet able to resolve a dependency on a project with multiple different publications.
Is there a work-around for this I could use? I understand the issue is that one of my dependencies has multiple publications. This is the way my legacy project is setup, so I can’t change that. Is there a way I can tell the publisher what publication of the dependency I want it to use?
I currently define the publication in the dependent project as:
publishing {
publications {
java(MavenPublication) {
from components.java
}
}
}