Package org.gradle.plugins.ide.idea
Class IdeaPlugin
- java.lang.Object
-
- org.gradle.plugins.ide.internal.IdePlugin
-
- org.gradle.plugins.ide.idea.IdeaPlugin
-
public 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.
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.base.Function<Project,JavaVersion>
SOURCE_COMPATIBILITY
static com.google.common.base.Function<Project,JavaVersion>
TARGET_COMPATIBILITY
-
Constructor Summary
Constructors Constructor Description IdeaPlugin(org.gradle.internal.reflect.Instantiator instantiator, org.gradle.plugins.ide.internal.configurer.UniqueProjectNameProvider uniqueProjectNameProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected String
getLifecycleTaskName()
IdeaModel
getModel()
protected void
onApply(Project project)
void
performPostEvaluationActions()
Deprecated.
-
-
-
Field Detail
-
SOURCE_COMPATIBILITY
public static final com.google.common.base.Function<Project,JavaVersion> SOURCE_COMPATIBILITY
-
TARGET_COMPATIBILITY
public static final com.google.common.base.Function<Project,JavaVersion> TARGET_COMPATIBILITY
-
-
Method Detail
-
getModel
public IdeaModel getModel()
-
getLifecycleTaskName
protected String getLifecycleTaskName()
- Specified by:
getLifecycleTaskName
in classorg.gradle.plugins.ide.internal.IdePlugin
-
onApply
protected void onApply(Project project)
- Overrides:
onApply
in classorg.gradle.plugins.ide.internal.IdePlugin
-
performPostEvaluationActions
@Deprecated public void performPostEvaluationActions()
Deprecated.
-
-