|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.plugins.JavaPlugin
class JavaPlugin extends java.lang.Object
A Plugin which compiles and tests Java source, and assembles it into a JAR file.
Field Summary | |
---|---|
static java.lang.String |
COMPILE_CONFIGURATION_NAME
|
static java.lang.String |
COMPILE_TASK_NAME
|
static java.lang.String |
COMPILE_TESTS_TASK_NAME
|
static java.lang.String |
DISTS_CONFIGURATION_NAME
|
static java.lang.String |
DISTS_TASK_NAME
|
static java.lang.String |
JAR_TASK_NAME
|
static java.lang.String |
JAVADOC_TASK_NAME
|
static java.lang.String |
LIBS_TASK_NAME
|
static java.lang.String |
PROCESS_RESOURCES_TASK_NAME
|
static java.lang.String |
PROCESS_TEST_RESOURCES_TASK_NAME
|
static java.lang.String |
RUNTIME_CONFIGURATION_NAME
|
static java.lang.String |
TEST_COMPILE_CONFIGURATION_NAME
|
static java.lang.String |
TEST_RUNTIME_CONFIGURATION_NAME
|
static java.lang.String |
TEST_TASK_NAME
|
Constructor Summary | |
JavaPlugin()
|
Method Summary | |
---|---|
protected Compile
|
configureCompileInternal(Compile compile, Map propertyMapping)
|
protected Compile
|
configureCompileTests(Compile compileTests, Compile compile, Map propertyMapping, ConfigurationContainer configurations)
|
void
|
configureConfigurations(Project project)
|
protected JavaPluginConvention
|
java(Convention convention)
|
void
|
use(Project project, ProjectPluginsContainer projectPluginsHandler)
|
Methods inherited from class java.lang.Object | |
---|---|
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll |
Field Detail |
---|
static final java.lang.String COMPILE_CONFIGURATION_NAME
static final java.lang.String COMPILE_TASK_NAME
static final java.lang.String COMPILE_TESTS_TASK_NAME
static final java.lang.String DISTS_CONFIGURATION_NAME
static final java.lang.String DISTS_TASK_NAME
static final java.lang.String JAR_TASK_NAME
static final java.lang.String JAVADOC_TASK_NAME
static final java.lang.String LIBS_TASK_NAME
static final java.lang.String PROCESS_RESOURCES_TASK_NAME
static final java.lang.String PROCESS_TEST_RESOURCES_TASK_NAME
static final java.lang.String RUNTIME_CONFIGURATION_NAME
static final java.lang.String TEST_COMPILE_CONFIGURATION_NAME
static final java.lang.String TEST_RUNTIME_CONFIGURATION_NAME
static final java.lang.String TEST_TASK_NAME
Constructor Detail |
---|
JavaPlugin()
Method Detail |
---|
protected Compile configureCompileInternal(Compile compile, Map propertyMapping)
protected Compile configureCompileTests(Compile compileTests, Compile compile, Map propertyMapping, ConfigurationContainer configurations)
public void configureConfigurations(Project project)
protected JavaPluginConvention java(Convention convention)
public void use(Project project, ProjectPluginsContainer projectPluginsHandler)
Groovy Documentation