Basic Spring Boot app in Kotlin
Kotlin Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

ktSpringTest

Basic Spring Boot app in Kotlin

You can read more about it here on my blog.

Notes

We are using a trampoline class in Java to help spring find the main method. Because of that, the pom is set to compile Kotlin code before Java code by running the Kotlin compilation in the process-sources phase.

Build

$ mvn clean package

Run

$ mvn spring-boot:run

or

$ java -jar target/SpringApp.jar