Maven Publish Base Extension
abstract class MavenPublishBaseExtension @Inject constructor(project: Project, buildEventsListenerRegistry: BuildEventsListenerRegistry, buildFeatures: BuildFeatures)
Constructors
Functions
Link copied to clipboard
@Incubating
Link copied to clipboard
Set the Maven coordinates consisting of groupId, artifactId and version for this project. In the case of Kotlin Multiplatform projects the given artifactId is used together with the platform targets resulting in artifactIds like [artifactId]-jvm.
Link copied to clipboard
Configures the POM through Gradle properties.
Link copied to clipboard
Sets up Maven Central publishing through Sonatype OSSRH by configuring the target repository. Gradle will then automatically create a publishAllPublicationsToMavenCentralRepository task as well as include it in the general publish task.
Link copied to clipboard
Automatically apply Gradle's signing plugin and configure all publications to be signed. If signing credentials are not configured this will fail the build unless the current version is a SNAPSHOT.