Why are native publications automatic?


(Chris Doré) #1

I’ve been reviewing the new native plugins (ie. cpp-application) and I wonder why the decision was made to automatically create a publication for the main component when the maven-publish plugin is applied. This doesn’t happen for java projects, so why does it happen for cpp?

In my opinion, it might be a bit much for Gradle to assume that it’s the cpp application component that I intend on publishing.