From the gradle maven-publish plugin's documentation, it's clear that you set the groupId
and version
of the project directly in build.gradle
:
group = 'org.gradle.sample'
version = '1.0'
However, the artifactId
appears to be taken from the name of the folder you are working within. Is there a way to set the artifactId
explicitly?