# getType

@Input
@Optional
abstract fun getType(): Property<String>(source)

The desired type of project to generate, such as 'java-application' or 'kotlin-library'.

Defaults to 'basic' - a minimal scaffolding, following Gradle best practices. If a `pom.xml` is found in the project root directory, the type defaults to 'pom' and the existing project is converted to Gradle.

Possible values for the option are provided by getAvailableBuildTypes.