Package org.gradle.plugins.ide.idea
Class IdeaPlugin
java.lang.Object
org.gradle.plugins.ide.internal.IdePlugin
org.gradle.plugins.ide.idea.IdeaPlugin
public abstract class IdeaPlugin
extends org.gradle.plugins.ide.internal.IdePlugin
Adds a GenerateIdeaModule task. When applied to a root project, also adds a GenerateIdeaProject task. For projects that have the Java plugin applied, the tasks receive additional Java-specific
configuration.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.common.base.Function
<Project, JavaVersion> static final com.google.common.base.Function
<Project, JavaVersion> Fields inherited from class org.gradle.plugins.ide.internal.IdePlugin
project
-
Constructor Summary
ConstructorsConstructorDescriptionIdeaPlugin
(org.gradle.internal.reflect.Instantiator instantiator, org.gradle.plugins.ide.internal.configurer.UniqueProjectNameProvider uniqueProjectNameProvider, org.gradle.plugins.ide.internal.IdeArtifactRegistry artifactRegistry, org.gradle.api.internal.project.ProjectStateRegistry projectPathRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract BuildFeatures
protected String
getModel()
protected void
Methods inherited from class org.gradle.plugins.ide.internal.IdePlugin
addWorker, addWorker, addWorker, addWorker, addWorkspace, apply, cleanName, dependsOn, dependsOn, getCleanTask, getExecOperations, getLifecycleTask, isRoot, toGradleCommand, withDescription
-
Field Details
-
SOURCE_COMPATIBILITY
-
TARGET_COMPATIBILITY
-
-
Constructor Details
-
IdeaPlugin
@Inject public IdeaPlugin(org.gradle.internal.reflect.Instantiator instantiator, org.gradle.plugins.ide.internal.configurer.UniqueProjectNameProvider uniqueProjectNameProvider, org.gradle.plugins.ide.internal.IdeArtifactRegistry artifactRegistry, org.gradle.api.internal.project.ProjectStateRegistry projectPathRegistry)
-
-
Method Details
-
getModel
-
getLifecycleTaskName
- Specified by:
getLifecycleTaskName
in classorg.gradle.plugins.ide.internal.IdePlugin
-
onApply
- Overrides:
onApply
in classorg.gradle.plugins.ide.internal.IdePlugin
-
getBuildFeatures
-