Create a new project in IntelliJ, select Gradle and add the dependencies related to Spring Boot and Kotlin mentioned in the following screenshot.
Here are the following steps:
- Open IntelliJ.
- Click File | New | Project.
- Select Gradle with Kotlin and web:
You can also use: https://start.spring.io to create a starter template with Spring Boot, Kotlin, and Gradle as our build system.