Groovy Documentation

org.gradle.api.tasks.ide.eclipse
Class EclipseProject

java.lang.Object
  org.gradle.api.internal.ConventionTask
      org.gradle.api.tasks.ide.eclipse.EclipseProject

class EclipseProject
extends ConventionTask

Generates an eclipse .project file.

author:
Hans Dockter


Field Summary
static java.lang.String PROJECT_FILE_NAME

 
Constructor Summary
EclipseProject()

 
Method Summary
protected void generateProject()

java.lang.String getProjectName()

Returns the name used for the name of the eclipse project

ProjectType getProjectType()

Returns the type of the Eclipse project

void setProjectName(java.lang.String projectName)

Sets the name used for the name of the eclipse project.

void setProjectType(ProjectType projectType)

Sets the type of the eclipse project

 

Field Detail

PROJECT_FILE_NAME

static final java.lang.String PROJECT_FILE_NAME


 
Constructor Detail

EclipseProject

EclipseProject()


 
Method Detail

generateProject

@TaskAction
protected void generateProject()


getProjectName

public java.lang.String getProjectName()
Returns the name used for the name of the eclipse project


getProjectType

public ProjectType getProjectType()
Returns the type of the Eclipse project


setProjectName

public void setProjectName(java.lang.String projectName)
Sets the name used for the name of the eclipse project.
param:
projectName The project name


setProjectType

public void setProjectType(ProjectType projectType)
Sets the type of the eclipse project
param:
projectType The project type


 

Groovy Documentation