org.gradle.api.plugins
Class MavenPlugin

java.lang.Object
  extended by org.gradle.api.plugins.MavenPlugin
All Implemented Interfaces:
Plugin<Project>

public class MavenPlugin
extends Object
implements Plugin<Project>

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


Field Summary
static int COMPILE_PRIORITY
           
static String INSTALL_TASK_NAME
           
static int PROVIDED_COMPILE_PRIORITY
           
static int PROVIDED_RUNTIME_PRIORITY
           
static int RUNTIME_PRIORITY
           
static int TEST_COMPILE_PRIORITY
           
static int TEST_RUNTIME_PRIORITY
           
 
Constructor Summary
MavenPlugin()
           
 
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
 

Field Detail

COMPILE_PRIORITY

public static final int COMPILE_PRIORITY
See Also:
Constant Field Values

RUNTIME_PRIORITY

public static final int RUNTIME_PRIORITY
See Also:
Constant Field Values

TEST_COMPILE_PRIORITY

public static final int TEST_COMPILE_PRIORITY
See Also:
Constant Field Values

TEST_RUNTIME_PRIORITY

public static final int TEST_RUNTIME_PRIORITY
See Also:
Constant Field Values

PROVIDED_COMPILE_PRIORITY

public static final int PROVIDED_COMPILE_PRIORITY
See Also:
Constant Field Values

PROVIDED_RUNTIME_PRIORITY

public static final int PROVIDED_RUNTIME_PRIORITY
See Also:
Constant Field Values

INSTALL_TASK_NAME

public static final String INSTALL_TASK_NAME
See Also:
Constant Field Values
Constructor Detail

MavenPlugin

public MavenPlugin()
Method Detail

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