> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/iv.-spring-boot-features/47.-kotlin-support/47.4-dependency-management.md).

# 47.4 依赖管理

为了避免混淆类路径上Kotlin依赖的不同版本，Spring Boot提供了下列Kotlin依赖的依赖管理。

* `kotlin-reflect`
* `kotlin-runtime`
* `kotlin-stdlib`
* `kotlin-stdlib-jdk7`
* `kotlin-stdlib-jdk8`
* `kotlin-stdlib-jre7`
* `kotlin-stdlib-jre8`

如果你用的是Maven，Kotlin版本可以通过`kotlin.version`属性自定义。并且，Maven为`kotlin-maven-plugin`提供了插件管理。如果你用的是Gradle，Spring Boot插件会自动把`kotlin.version`定义为Kotlin插件的版本。
