open class InitBuild : DefaultTask
Generates a Gradle project structure.
InitBuild()
Generates a Gradle project structure. |
open fun getAvailableBuildTypes(): MutableList<String> |
|
open fun getAvailableDSLs(): MutableList<String>
Available build script DSLs to be used. |
|
open fun getAvailableTestFrameworks(): MutableList<String> |
|
open fun getDsl(): String
The desired DSL of build scripts to create, defaults to 'groovy'. This property can be set via command-line option '--dsl'. |
|
open fun getProjectLayoutRegistry(): ProjectLayoutSetupRegistry |
|
open fun getTestFramework(): String
Alternative test framework to be used in the generated project. This property can be set via command-line option '--test-framework' |
|
open fun getType(): String
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'. |
|
open fun setDsl(dsl: String): Unit
Set alternative build script DSL to be used. |
|
open fun setProjectLayoutRegistry(projectLayoutRegistry: ProjectLayoutSetupRegistry): Unit |
|
open fun setTestFramework(testFramework: String): Unit |
|
open fun setType(type: String): Unit |
|
open fun setupProjectLayout(): Unit |