We should update to Kotlin 2 to align with https://github.com/spring-projects/spring-framework/issues/34453

Comment From: rwinch

Closed via 00ead7f24dcd55538a565b827c981705453ba72a