Is mavenJava just a name in publishing.publications configuration for MavaPublication Type ? I am not clear what it is meant for; And how it is used ? Does it have to be that exact name “mavenJava” which is being used by the another gradle plugin or Could be anything like myCustomPublicationName* ?
FYR: https://docs.gradle.org/current/dsl/org.gradle.api.publish.maven.MavenPublication.html