Hey guys, what’s the preferred way to use configu...
# spring
r
Hey guys, what’s the preferred way to use configuration-metadata-annotation-processor with kotlin? As KAPT is scheduled for deprecation and increases build time … ?
❤️ 1
b
I’m curious about this too
r
Here it’s without kapt https://start.spring.io/#!type=gradle-project&language=kotlin&platformVersion=2.6.1&p[…]geName=com.example.demo&dependencies=configuration-processor
Copy code
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
// ...
configurations {
  compileOnly {
    extendsFrom(configurations.annotationProcessor.get())
  }
}