Package org.gradle.api.plugins
Class JavaBasePlugin
java.lang.Object
org.gradle.api.plugins.JavaBasePlugin
- All Implemented Interfaces:
Plugin<org.gradle.api.internal.project.ProjectInternal>
public class JavaBasePlugin
extends Object
implements Plugin<org.gradle.api.internal.project.ProjectInternal>
A Plugin
which compiles and tests Java source, and assembles it into a JAR file.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJavaBasePlugin
(org.gradle.internal.reflect.Instantiator instantiator, JavaToolChain javaToolChain, org.gradle.api.internal.project.taskfactory.ITaskFactory taskFactory, org.gradle.model.internal.registry.ModelRegistry modelRegistry, ObjectFactory objectFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(org.gradle.api.internal.project.ProjectInternal project) Apply this plugin to the given target object.void
configureForSourceSet
(SourceSet sourceSet, AbstractCompile compile) Deprecated.
-
Field Details
-
CHECK_TASK_NAME
- See Also:
-
VERIFICATION_GROUP
- See Also:
-
BUILD_TASK_NAME
- See Also:
-
BUILD_DEPENDENTS_TASK_NAME
- See Also:
-
BUILD_NEEDED_TASK_NAME
- See Also:
-
DOCUMENTATION_GROUP
- See Also:
-
-
Constructor Details
-
JavaBasePlugin
@Inject public JavaBasePlugin(org.gradle.internal.reflect.Instantiator instantiator, JavaToolChain javaToolChain, org.gradle.api.internal.project.taskfactory.ITaskFactory taskFactory, org.gradle.model.internal.registry.ModelRegistry modelRegistry, ObjectFactory objectFactory)
-
-
Method Details
-
apply
public void apply(org.gradle.api.internal.project.ProjectInternal project) Description copied from interface:Plugin
Apply this plugin to the given target object. -
configureForSourceSet
Deprecated.
-