API Documentation: | InitBuild |
---|
Note: This class is incubating and may change in a future version of Gradle.
Generates a Gradle project structure.
Property | Description |
testFramework | Incubating Alternative test framework to be used in the generated project. This property can be set via command-line option '--test-framework' |
type | Incubating 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'. This property can be set via command-line option '--type'. |
String
testFramework
Note: This property is incubating and may change in a future version of Gradle.
Alternative test framework to be used in the generated project. This property can be set via command-line option '--test-framework'
- Default:
empty
(default test framework depends on the requestedtype
)
String
type
Note: This property is incubating and may change in a future version of Gradle.
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'. This property can be set via command-line option '--type'.
- Default:
empty
(orpom
if a pom.xml file exists in the project directory)