Skip to content

Instantly share code, notes, and snippets.

@AlexeySoshin
Created October 22, 2017 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexeySoshin/1364ff2f0a740d4dc87453b6e6b2ee2e to your computer and use it in GitHub Desktop.
Save AlexeySoshin/1364ff2f0a740d4dc87453b6e6b2ee2e to your computer and use it in GitHub Desktop.
All you need to init SpringBoot with Kotlin
@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