public class InitBuild extends DefaultTask
Task.NamerTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
InitBuild() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAvailableBuildTypes() |
List<String> |
getAvailableDSLs()
Available build script DSLs to be used.
|
List<String> |
getAvailableTestFrameworks() |
String |
getDsl()
The desired DSL of build scripts to create, defaults to 'groovy'.
|
org.gradle.buildinit.plugins.internal.ProjectLayoutSetupRegistry |
getProjectLayoutRegistry() |
String |
getTestFramework()
Alternative test framework to be used in the generated project.
|
String |
getType()
The desired type of build to create, defaults to 'pom' if 'pom.xml' is found in project root if no pom.xml is found, it defaults to 'basic'.
|
void |
setDsl(String dsl)
Set alternative build script DSL to be used.
|
void |
setProjectLayoutRegistry(org.gradle.buildinit.plugins.internal.ProjectLayoutSetupRegistry projectLayoutRegistry) |
void |
setTestFramework(String testFramework) |
void |
setType(String type) |
void |
setupProjectLayout() |
newInputDirectory, newInputFile, newOutputDirectory, newOutputFileaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Input public String getType()
@Incubating @Optional @Input public String getDsl()
@Optional @Input public String getTestFramework()
public org.gradle.buildinit.plugins.internal.ProjectLayoutSetupRegistry getProjectLayoutRegistry()
public void setupProjectLayout()
public void setType(String type)
@Incubating public void setDsl(String dsl)
@Incubating public List<String> getAvailableDSLs()
public void setTestFramework(String testFramework)
public void setProjectLayoutRegistry(org.gradle.buildinit.plugins.internal.ProjectLayoutSetupRegistry projectLayoutRegistry)