Boilerplate code for gradle based Kotlin application.
- Kotlin/JVM
- Kotlin Coroutine
- Strict Kotlin enable allWarningsAsErrors
- Unit test with Spek2, JUnit 5, Kluent and MockK
- Static code check using Detekt
- Code coverage using Jacoco
- Logging with Logback
- Gradle Kotlin DSL
- Use sdkman
$ curl -s "https://get.sdkman.io" | bash
$ source "$HOME/.sdkman/bin/sdkman-init.sh"
$ sdk version
$ sdk install java
$ sdk update
$ sdk install gradle
$ git clone git@github.com:jasoet/kotlin-gradle-boilerplate.git ${YOUR_PROJECT_NAME}
$ cd ${YOUR_PROJECT_NAME}
$ ./gradlew clean build