Is there an Option to start a kotlin shell in the current gradle repo?
reactormonk
04/08/2025, 11:40 AM
apparently gotta use scratch files
k
Klitos Kyriacou
04/08/2025, 1:36 PM
At various times and in various IntelliJ releases, Kotlin shell and/or scratch files have been switching from working to non-working, so now I use something that has always worked (and probably always will): I just temporarily create a
main
function inside an arbitrary existing Kotlin file of my repo and run it.