org.gradle.api.plugins
Class JavaPlugin
java.lang.Object
org.gradle.api.plugins.JavaPlugin
- All Implemented Interfaces:
- Plugin<Project>
public class JavaPlugin
- extends Object
- implements Plugin<Project>
A Plugin
which compiles and tests Java source, and assembles it into a JAR file.
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 |
PROCESS_RESOURCES_TASK_NAME
public static final String PROCESS_RESOURCES_TASK_NAME
- See Also:
- Constant Field Values
CLASSES_TASK_NAME
public static final String CLASSES_TASK_NAME
- See Also:
- Constant Field Values
COMPILE_JAVA_TASK_NAME
public static final String COMPILE_JAVA_TASK_NAME
- See Also:
- Constant Field Values
PROCESS_TEST_RESOURCES_TASK_NAME
public static final String PROCESS_TEST_RESOURCES_TASK_NAME
- See Also:
- Constant Field Values
TEST_CLASSES_TASK_NAME
public static final String TEST_CLASSES_TASK_NAME
- See Also:
- Constant Field Values
COMPILE_TEST_JAVA_TASK_NAME
public static final String COMPILE_TEST_JAVA_TASK_NAME
- See Also:
- Constant Field Values
TEST_TASK_NAME
public static final String TEST_TASK_NAME
- See Also:
- Constant Field Values
JAR_TASK_NAME
public static final String JAR_TASK_NAME
- See Also:
- Constant Field Values
JAVADOC_TASK_NAME
public static final String JAVADOC_TASK_NAME
- See Also:
- Constant Field Values
COMPILE_CONFIGURATION_NAME
public static final String COMPILE_CONFIGURATION_NAME
- See Also:
- Constant Field Values
RUNTIME_CONFIGURATION_NAME
public static final String RUNTIME_CONFIGURATION_NAME
- See Also:
- Constant Field Values
TEST_RUNTIME_CONFIGURATION_NAME
public static final String TEST_RUNTIME_CONFIGURATION_NAME
- See Also:
- Constant Field Values
TEST_COMPILE_CONFIGURATION_NAME
public static final String TEST_COMPILE_CONFIGURATION_NAME
- See Also:
- Constant Field Values
JavaPlugin
public JavaPlugin()
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