org.gradle.api.publish.ivy.plugins
Class IvyPublishPlugin
java.lang.Object
org.gradle.api.publish.ivy.plugins.IvyPublishPlugin
- All Implemented Interfaces:
- Plugin<Project>
@Incubating
public class IvyPublishPlugin
- extends Object
- implements Plugin<Project>
Configures the project to publish a “main” IvyPublication to a “main” IvyArtifactRepository.
Creates an IvyPublication named "main" in project.publications, configured to publish all of the visible configurations of the project.
Creates an IvyArtifactRepository
- Since:
- 1.3
|
Constructor Summary |
IvyPublishPlugin(org.gradle.internal.reflect.Instantiator instantiator,
org.gradle.api.internal.artifacts.configurations.DependencyMetaDataProvider dependencyMetaDataProvider,
org.gradle.api.internal.file.FileResolver fileResolver)
|
|
Method Summary |
void |
apply(Project project)
Apply this plugin to the given target object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IvyPublishPlugin
@Inject
public IvyPublishPlugin(org.gradle.internal.reflect.Instantiator instantiator,
org.gradle.api.internal.artifacts.configurations.DependencyMetaDataProvider dependencyMetaDataProvider,
org.gradle.api.internal.file.FileResolver fileResolver)
apply
public void apply(Project project)
- Description copied from interface:
Plugin
- Apply this plugin to the given target object.
- Specified by:
apply in interface Plugin<Project>
- Parameters:
project - The target object