|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.AbstractTask org.gradle.api.DefaultTask org.gradle.buildinit.tasks.InitBuild
@Incubating class InitBuild extends DefaultTask
Generates a Gradle project structure.
Property Summary | |
---|---|
ProjectLayoutSetupRegistry |
projectLayoutRegistry
|
Method Summary | |
---|---|
List
|
getAvailableBuildTypes()
|
ProjectLayoutSetupRegistry
|
getProjectLayoutRegistry()
|
String
|
getType()
The desired type of build to create, defaults to {@value BuildInitTypeIds#POM} if 'pom.xml' is found in project root if no pom.xml is found, it defaults to {@value BuildInitTypeIds#BASIC}. |
void
|
setType(String type)
|
void
|
setupProjectLayout()
|
Property Detail |
---|
ProjectLayoutSetupRegistry projectLayoutRegistry
Method Detail |
---|
@OptionValues("type") List getAvailableBuildTypes()
ProjectLayoutSetupRegistry getProjectLayoutRegistry()
String getType()
@Option(option = "type", description = "Set type of build to create.") void setType(String type)
@TaskAction void setupProjectLayout()
Gradle API 1.12