|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
interface ProjectDescriptor
A ProjectDescriptor declares the configuration required to create and evaluate a Project.
A ProjectDescriptor is created when you add a project to the build from the settings script, using Settings#include(String[]) or Settings#includeFlat(String[]). You can access the descriptors using one of the lookup methods on the org.gradle.api.initialization.Settings object.
Method Summary | |
---|---|
File
|
getBuildFile()
Returns the build file for this project. |
java.lang.String
|
getBuildFileName()
Returns the name of the build file for this project. |
Set
|
getChildren()
Returns the children of this project, if any. |
java.lang.String
|
getName()
Returns the name of this project. |
ProjectDescriptor
|
getParent()
Returns the parent of this project, if any. |
java.lang.String
|
getPath()
Returns the path of this project. |
File
|
getProjectDir()
Returns the project directory of this project. |
void
|
setBuildFileName(java.lang.String name)
Sets the name of the build file. |
void
|
setName(java.lang.String name)
Sets the name of this project. |
void
|
setProjectDir(File dir)
Sets the project directory of this project. |
Method Detail |
---|
public File getBuildFile()
public java.lang.String getBuildFileName()
public Set getChildren()
public java.lang.String getName()
public ProjectDescriptor getParent()
public java.lang.String getPath()
public File getProjectDir()
public void setBuildFileName(java.lang.String name)
public void setName(java.lang.String name)
public void setProjectDir(File dir)
Groovy Documentation