This is a great post on the current state of Kotlin Script.
The section on the continued support for .main.kts files was music to my ears
https://blog.jetbrains.com/kotlin/2024/11/state-of-kotlin-scripting-2024/

Hi, I’m Lee 👋. Senior Software Engineer at WireMock, Snyk Ambassador, Hacker of code. Appsec enthusiast. Runs Brighton Kotlin & Brighton JUG