Create a new Gradle project with Kotlin using IntelliJ

In this tutorial, I will show you how to create a new Gradle project with Kotlin in IntelliJ IDE!

First, open IntelliJ IDE, click New Project:

Please fill in the project name and select the location to save your project in the Name field and Location field. If you want to initialize Git repository, please tick Create Git repository!

In the Language and Build system fields, select Kotlin and Gradle like me as follows:

We will use Gradle with Kotlin, so please choose Kotlin in the Gradle DSL field!

Please expand Advance Settings to fill in the GroupId and ArtifactId information of the project. I will fill in project information as follows:

Click Create to finish!

The following results:

At this point, you can start coding Kotlin using Gradle to build!

Leave a Reply

Your email address will not be published. Required fields are marked *