Created
October 22, 2017 16:38
-
-
Save AlexeySoshin/1364ff2f0a740d4dc87453b6e6b2ee2e to your computer and use it in GitHub Desktop.
All you need to init SpringBoot with Kotlin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SpringBootApplication | |
class KotlinSpringBootApplication | |
fun main(args: Array<String>) { | |
// That part of boilerplate you still cannot get rid of | |
SpringApplication.run(KotlinSpringBootApplication::class.java, *args) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment