I've been away from Kotlin for a while…
I used to have all source files in the src directory no matter what the package a file contributed to. This used to work fine, and for my small little projects worked better than the Java/Scala/Groovy set up of having a directory hierarchy matching the package structure. Now however IntelliJ IDEA is complaining about the package statement since the file does not reside in the correct location in the directory hierarchy. Has the strategy for Kotlin changed to match the Java/Groovy/Scala one?