Maven-plublish: multiple artifacts with the identical extension and classifier

Publishing under different artifactIDs means you want to have multiple publications. Try something like:

publishing {
    publications {
        main( MavenPublication ) {
            artifact zip1
        }
        someOtherName( MavenPublication ) {
            artifact zip2
        }
    }
}
2 Likes