spring-boot/spring-boot-project
Stéphane Nicoll 7035c0fa0a Upgrade to Kotlin 2.1.0
This commit upgrades to Kotlin 2.1.0. Two related dependencies have been
updated as well: Kotlin Coroutines to 1.10, and Kotlin Serialization to
1.8.

As of Kotlin 2, it is no longer possible to have a Java type and a
Kotlin type with the same name. As our code samples follow that
unfortunate pattern, this commit makes sure that the Kotlin sample code
does not depend on any of the Java counterpart and configure the kotlin
compilation plugin to ignore Java sources.

The minimum version of Gradle is 7.6.4. It bundles a version of Kotlin
that cannot compile a Kotlin build script when spring-core, compiled
with Kotlin 2.1, is on the classpath. Using Gradle 8.12 to run the DSL
tests avoids the problem.

Closes gh-45486

Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2025-05-09 17:38:10 -07:00
..
spring-boot Upgrade to Jakarta Validation 3.1.0 2025-05-09 17:38:09 -07:00
spring-boot-actuator Merge branch '3.4.x' 2025-05-09 14:31:15 +01:00
spring-boot-actuator-autoconfigure Compile project with Java 24 and '-release' Java 17 2025-05-09 17:38:08 -07:00
spring-boot-autoconfigure Upgrade to Hibernate 7.0.0.Beta3 and Jakarta Persistence 3.2.0 2025-05-09 17:38:09 -07:00
spring-boot-dependencies Upgrade to Kotlin 2.1.0 2025-05-09 17:38:10 -07:00
spring-boot-devtools Merge branch '3.4.x' 2025-04-14 16:18:50 -07:00
spring-boot-docker-compose Restore visibility for DockerComposeProperties.get() 2025-04-21 08:34:17 +02:00
spring-boot-docs Upgrade to Kotlin 2.1.0 2025-05-09 17:38:10 -07:00
spring-boot-parent Document use of org.cyclonedx.bom version to 2.3.0 2025-05-02 15:53:16 +02:00
spring-boot-starters Remove unnecessary excludes on javax.xml.bind:jaxb-api 2025-04-08 11:42:34 -07:00
spring-boot-test Merge branch '3.4.x' 2025-04-28 12:20:19 -07:00
spring-boot-test-autoconfigure Merge branch '3.4.x' 2025-04-28 12:20:19 -07:00
spring-boot-testcontainers Upgrade to Testcontainers 1.21.0 2025-04-24 11:32:40 +02:00
spring-boot-tools Upgrade to Kotlin 2.1.0 2025-05-09 17:38:10 -07:00