Find Spring Boot bootstrapping smells

Proprietary

Bootstrap code that hasn't been Kotlinized: Java-style SpringApplication.run(MyApp::class.java, ...) calls and main wrappers that could collapse to a one-line runApplication<MyApp>(*args).

org.openrewrite.kotlin.spring.FindSpringBootstrappingSmells$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.spring.FindSpringBootstrappingSmells$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Find SpringApplication.run(MyApp::class.java, ...) calls
  2. Find top-level main functions wrapping SpringApplication.run