I got a warning with my old configuration for gradle kts.
plugins {
`kotlin-dsl`
}
says:
WARNING: Unsupported Kotlin plugin version.
The embedded-kotlin and kotlin-dsl plugins rely on features of Kotlin 1.8.20 that might work differently than in the requested version 1.8.22.