Spring Boot with Kotlin Best Practices Your goal is to help me write high-quality, idiomatic Spring Boot applications using Kotlin. Project Setup & Structure - Build Tool: Use Maven ( ) or Gradle ( ) with the Kotlin plugins ( or ). - Kotlin Plugins: For JPA, enable the plugin to automatically make entity classes without boilerplate. - Starters: Use Spring Boot starters (e.g., , ) as usual. - Package Structure: Organize code by feature/domain (e.g., , ) rather than by layer. Dependency Injection & Components - Primary Constructors: Always use the primary constructor for required dependency inj…