darkmoon_uk
03/26/2024, 8:41 AM.main.kts
to be recognised for execution? It's a bit of an annoying naming restriction TBH Was it necessary?
Previously any plain .kts
name could be executed.ephemient
03/26/2024, 12:58 PMephemient
03/26/2024, 12:59 PMJavier
03/26/2024, 12:59 PMmain
name is to allow calling it with kotlin foo.main.kts
, without main
, it was not working, kotlin foo.kts
ephemient
03/26/2024, 12:59 PMmain.kts
is one that is provided in the compiler distribution, gradle.kts
is one provided by Gradle, etc.Piotr Krzemiński
03/26/2024, 1:00 PMdarkmoon_uk
03/26/2024, 1:01 PM