Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ssoudan/ktspringtest

Basic Spring Boot app in Kotlin
https://github.com/ssoudan/ktspringtest

Last synced: 6 days ago
JSON representation

Basic Spring Boot app in Kotlin

Awesome Lists containing this project

README

        

ktSpringTest
============

Basic Spring Boot app in Kotlin

You can read more about it [here](http://ssoudan.eu/posts/2014-12-08-kotlin-springboot.html) 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