gradle
8.6

# MavenPublishPlugin

abstract class MavenPublishPlugin : Plugin<T> (source)

Adds the ability to publish in the Maven format to Maven repositories.

#### See also

<a href="https://docs.gradle.org/current/userguide/publishing_maven.html">Maven Publishing reference</a>

## Constructors

MavenPublishPlugin
Link copied to clipboard
@Inject
constructor(instantiatorFactory: InstantiatorFactory, objectFactory: ObjectFactory, dependencyMetaDataProvider: DependencyMetaDataProvider, fileResolver: FileResolver, immutableAttributesFactory: ImmutableAttributesFactory, providerFactory: ProviderFactory, taskDependencyFactory: TaskDependencyFactory)

## Properties

PUBLISH_LOCAL_LIFECYCLE_TASK_NAME
Link copied to clipboard
val PUBLISH_LOCAL_LIFECYCLE_TASK_NAME: String = "publishToMavenLocal"

## Functions

apply
Link copied to clipboard
open fun apply(project: Project)