no, it does not work. I can't find a way to make IDEA + Gradle + Kotlin work. IDEA + Kotlin without Gradle works fine. But I wanted to use Gradle for dependency management because if I don't use dependency management then I will have to find .jar files of required libraries one by one