@@ -8742,8 +8742,7 @@ make it possible to take advantage of Kotlin reified type parameters.
87428742[[boot-features-kotlin-dependency-management]]
87438743=== Dependency management
87448744In order to avoid mixing different versions of Kotlin dependencies on the classpath,
8745- https://search.maven.org/artifact/org.jetbrains.kotlin/kotlin-bom/[Kotlin BOM] is
8746- included in Spring Boot dependency management to set the version of Kotlin dependencies.
8745+ Spring Boot imports the Kotlin BOM.
87478746
87488747With Maven, the Kotlin version can be customized via the `kotlin.version` property and
87498748plugin management is provided for `kotlin-maven-plugin`. With Gradle, the Spring Boot
@@ -8753,7 +8752,8 @@ plugin automatically aligns the `kotlin.version` with the version of the Kotlin
87538752
87548753[[boot-features-kotlin-configuration-properties]]
87558754=== `@ConfigurationProperties`
8756- As of Spring Boot 2.2, `@ConfigurationProperties` supports classes with immutable `val` properties.
8755+ `@ConfigurationProperties` supports classes with immutable `val` properties as shown in
8756+ the following example:
87578757
87588758[source,kotlin,indent=0]
87598759----
@@ -8770,7 +8770,11 @@ data class MyService(
87708770)
87718771----
87728772
8773- WARNING: <<appendix.adoc#configuration-metadata-annotation-processor,Metadata>> is not working yet.
8773+ TIP: To generate <<appendix.adoc#configuration-metadata-annotation-processor,your own
8774+ metadata>> using the annotation processor, {kotlin-documentation}kapt.html[`kapt` should
8775+ be configured] with the `spring-boot-configuration-processor` dependency. Note that some
8776+ features (such as detecting the default value or deperecated items) are not working due
8777+ to limitations in the model kapt provides.
87748778
87758779
87768780[[boot-features-kotlin-testing]]
0 commit comments