Trying to add support to start.spring.io has shown just how awkward SpringApplication.from(...) is to use with Kotlin. For typical Kotlin applications we can probably offer a helper function that finds the main function using convention.