Example init running

# Basic 
gradle init --type basic --dsl kotlin
 
 
# Kotlin application
gradle init --type kotlin-application

Some info

Gradle comes with a built-in task, called init, that initializes a new Gradle project in an empty folder. The init task uses the (also built-in) wrapper task to create a Gradle wrapper script, gradlew. - link