You need JDK 11+.
$ git clone https://github.com/domaframework/kotlin-sample.git
$ cd kotlin-sample
Start your IntelliJ IDEA.
Select "File > New > Project from Existing Sources..." from the menu bar and choose "Gradle":
./gradlew domaCodeGenDevEntity
./gradlew build
./gradlew run