Package org.gradle.api.plugins
Klasse JavaPlugin
java.lang.Object
org.gradle.api.plugins.JavaPlugin
A Plugin which compiles and tests Java source, and assembles it into a JAR file.
test suite named test that represents the Test task for Java projects.- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringThe name of the annotation processor configuration.static final StringThe name of the API configuration, where dependencies exported by a component at compile time should be declared.static final StringThe name of the configuration to define the API elements of a component.static final StringThe name of the lifecycle task which outcome is that all the classes of a component are generated.static final StringThe name of the compile classpath configuration.static final StringThe name of the task which compiles Java sources.static final StringThe name of the configuration to define the API elements of a component that are required to compile a component, but not at runtime.static final StringThe name of the configuration that is used to declare dependencies which are only required to compile a component, but not at runtime.static final StringThe name of the task which compiles the test Java sources.static final StringThe name of the implementation configuration, where dependencies that are only used internally by a component should be declared.static final StringThe name of the task which generates the component main jar.static final StringThe name of the javadoc elements configuration.static final StringThe name of the task which generates the component javadoc.static final StringThe name of the task that processes resources.static final StringThe name of the task which processes the test resources.static final StringThe name of the runtime classpath configuration, used by a component to query its own runtime classpath.static final StringThe name of the runtime elements configuration, that should be used by consumers to query the runtime dependencies of a component.static final StringThe name of the runtime only dependencies configuration, used to declare dependencies that should only be found at runtime.static final StringThe name of the sources elements configuration.static final StringThe name of the test annotation processor configuration.static final StringThe name of the lifecycle task which outcome is that all test classes of a component are generated.static final StringThe name of the test compile classpath configuration.static final StringThe name of the configuration that should be used to declare dependencies which are only required to compile the tests, but not when running them.static final StringThe name of the test implementation dependencies configuration.static final StringThe name of the test runtime classpath configuration.static final StringThe name of the test runtime only dependencies configuration.static final StringThe name of the task which triggers execution of tests. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Felddetails
-
PROCESS_RESOURCES_TASK_NAME
The name of the task that processes resources.- Siehe auch:
-
CLASSES_TASK_NAME
The name of the lifecycle task which outcome is that all the classes of a component are generated.- Siehe auch:
-
COMPILE_JAVA_TASK_NAME
The name of the task which compiles Java sources.- Siehe auch:
-
PROCESS_TEST_RESOURCES_TASK_NAME
The name of the task which processes the test resources.- Siehe auch:
-
TEST_CLASSES_TASK_NAME
The name of the lifecycle task which outcome is that all test classes of a component are generated.- Siehe auch:
-
COMPILE_TEST_JAVA_TASK_NAME
The name of the task which compiles the test Java sources.- Siehe auch:
-
TEST_TASK_NAME
The name of the task which triggers execution of tests.- Siehe auch:
-
JAR_TASK_NAME
The name of the task which generates the component main jar.- Siehe auch:
-
JAVADOC_TASK_NAME
The name of the task which generates the component javadoc.- Siehe auch:
-
API_CONFIGURATION_NAME
The name of the API configuration, where dependencies exported by a component at compile time should be declared.- Seit:
- 3.4
- Siehe auch:
-
IMPLEMENTATION_CONFIGURATION_NAME
The name of the implementation configuration, where dependencies that are only used internally by a component should be declared.- Seit:
- 3.4
- Siehe auch:
-
API_ELEMENTS_CONFIGURATION_NAME
The name of the configuration to define the API elements of a component. That is, the dependencies which are required to compile against that component.- Seit:
- 3.4
- Siehe auch:
-
COMPILE_ONLY_CONFIGURATION_NAME
The name of the configuration that is used to declare dependencies which are only required to compile a component, but not at runtime.- Siehe auch:
-
COMPILE_ONLY_API_CONFIGURATION_NAME
The name of the configuration to define the API elements of a component that are required to compile a component, but not at runtime.- Seit:
- 6.7
- Siehe auch:
-
RUNTIME_ONLY_CONFIGURATION_NAME
The name of the runtime only dependencies configuration, used to declare dependencies that should only be found at runtime.- Seit:
- 3.4
- Siehe auch:
-
RUNTIME_CLASSPATH_CONFIGURATION_NAME
The name of the runtime classpath configuration, used by a component to query its own runtime classpath.- Seit:
- 3.4
- Siehe auch:
-
RUNTIME_ELEMENTS_CONFIGURATION_NAME
The name of the runtime elements configuration, that should be used by consumers to query the runtime dependencies of a component.- Seit:
- 3.4
- Siehe auch:
-
JAVADOC_ELEMENTS_CONFIGURATION_NAME
The name of the javadoc elements configuration.- Seit:
- 6.0
- Siehe auch:
-
SOURCES_ELEMENTS_CONFIGURATION_NAME
The name of the sources elements configuration.- Seit:
- 6.0
- Siehe auch:
-
COMPILE_CLASSPATH_CONFIGURATION_NAME
The name of the compile classpath configuration.- Seit:
- 3.4
- Siehe auch:
-
ANNOTATION_PROCESSOR_CONFIGURATION_NAME
The name of the annotation processor configuration.- Seit:
- 4.6
- Siehe auch:
-
TEST_IMPLEMENTATION_CONFIGURATION_NAME
The name of the test implementation dependencies configuration.- Seit:
- 3.4
- Siehe auch:
-
TEST_COMPILE_ONLY_CONFIGURATION_NAME
The name of the configuration that should be used to declare dependencies which are only required to compile the tests, but not when running them.- Siehe auch:
-
TEST_RUNTIME_ONLY_CONFIGURATION_NAME
The name of the test runtime only dependencies configuration.- Seit:
- 3.4
- Siehe auch:
-
TEST_COMPILE_CLASSPATH_CONFIGURATION_NAME
The name of the test compile classpath configuration.- Seit:
- 3.4
- Siehe auch:
-
TEST_ANNOTATION_PROCESSOR_CONFIGURATION_NAME
The name of the test annotation processor configuration.- Seit:
- 4.6
- Siehe auch:
-
TEST_RUNTIME_CLASSPATH_CONFIGURATION_NAME
The name of the test runtime classpath configuration.- Seit:
- 3.4
- Siehe auch:
-
-
Konstruktordetails
-
JavaPlugin
@Inject public JavaPlugin()
-
-
Methodendetails