Build systems are software tools designed to automate the process of program compilation such as Maven, Gradle, and others. We will be using the Gradle build system for our project.Â
Setting up the build script
Adding Kotlin dependency
Kotlin language is added as a Gradle dependency in the project:
// Kotlin
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
Adding Spring Boot dependencies
To set up the project with Spring Boot packages we need to add the following dependencies in the build.gradle file:
// Spring
...