api / org.gradle.api.plugins / MavenPlugin

MavenPlugin

open class MavenPlugin : Plugin<ProjectInternal>

A org.gradle.api.Plugin which allows project artifacts to be deployed to a Maven repository, or installed to the local Maven cache.

Constructors

<init>

MavenPlugin(loggingManagerFactory: Factory, fileResolver: FileResolver, publicationRegistry: ProjectPublicationRegistry, configurationActionContainer: ProjectConfigurationActionContainer, mavenSettingsProvider: MavenSettingsProvider, mavenRepositoryLocator: LocalMavenRepositoryLocator, moduleIdentifierFactory: ImmutableModuleIdentifierFactory)

Properties

COMPILE_PRIORITY

static val COMPILE_PRIORITY: Int

INSTALL_TASK_NAME

static val INSTALL_TASK_NAME: String

PROVIDED_COMPILE_PRIORITY

static val PROVIDED_COMPILE_PRIORITY: Int

PROVIDED_RUNTIME_PRIORITY

static val PROVIDED_RUNTIME_PRIORITY: Int

RUNTIME_PRIORITY

static val RUNTIME_PRIORITY: Int

TEST_COMPILE_PRIORITY

static val TEST_COMPILE_PRIORITY: Int

TEST_RUNTIME_PRIORITY

static val TEST_RUNTIME_PRIORITY: Int

Functions

apply

open fun apply(project: ProjectInternal): Unit