Class MavenPublishPlugin
- java.lang.Object
-
- org.gradle.api.publish.maven.plugins.MavenPublishPlugin
-
public abstract class MavenPublishPlugin extends java.lang.Object implements Plugin<Project>
Adds the ability to publish in the Maven format to Maven repositories.- Since:
- 1.4
- See Also:
- Maven Publishing reference
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PUBLISH_LOCAL_LIFECYCLE_TASK_NAME
-
Constructor Summary
Constructors Constructor Description MavenPublishPlugin(org.gradle.internal.instantiation.InstantiatorFactory instantiatorFactory, ObjectFactory objectFactory, org.gradle.api.internal.artifacts.configurations.DependencyMetaDataProvider dependencyMetaDataProvider, org.gradle.api.internal.file.FileResolver fileResolver, org.gradle.api.internal.attributes.ImmutableAttributesFactory immutableAttributesFactory, ProviderFactory providerFactory, org.gradle.api.internal.tasks.TaskDependencyFactory taskDependencyFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Project project)
Apply this plugin to the given target object.
-
-
-
Field Detail
-
PUBLISH_LOCAL_LIFECYCLE_TASK_NAME
public static final java.lang.String PUBLISH_LOCAL_LIFECYCLE_TASK_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MavenPublishPlugin
@Inject public MavenPublishPlugin(org.gradle.internal.instantiation.InstantiatorFactory instantiatorFactory, ObjectFactory objectFactory, org.gradle.api.internal.artifacts.configurations.DependencyMetaDataProvider dependencyMetaDataProvider, org.gradle.api.internal.file.FileResolver fileResolver, org.gradle.api.internal.attributes.ImmutableAttributesFactory immutableAttributesFactory, ProviderFactory providerFactory, org.gradle.api.internal.tasks.TaskDependencyFactory taskDependencyFactory)
-
-