Hi. I would like to publish artifacts with ‘maven-publish’ from my multi module project to a Maven repository (Artifactory). I have configured a plugin in a way that worked with a single module project, but on ‘’‘gradle publish’’’ I’ve got:
‘’‘Maven publication ‘myMaven’ cannot include multiple components’’’
I based my multi module publishing configuration on an example for Ivy:
name = ‘repo’
I looked into DefaultMavenPublication.java, but don’t know how should I configure publishing to make it work with a multi module project?