Spring Boot 2 and Kotlin (with Maven)

I want to start a new project using Spring Boot 2 (currently it takes snapshots), which in turn uses Spring Framework 5 (bleeding edge). The reason is that Spring 5 should have significantly improved Kotlin support , and I would like to use Kotlin.

Now the example that I find is using Spring Boot 1.4.3 and, of course, Gradle, and, of course, the Kotlin-based Gradle file. Honestly, this is too many new technologies for me for one project. I don’t even know how to add a new repository to the construction of the Gradle (Kotlin-Gradle!) Script. I would prefer the Maven project, since Im familiar with this, at least, and the brand new Spring and Kotlin will have enough experimentation.

So how to do this in Maven? What is it called the plugin kotlin-springthat I see for Gradle?

+4
source share
1 answer

start.spring.io ( ), spring 2 kotlin . maven gradle. .

:)

+8

Source: https://habr.com/ru/post/1666698/


All Articles