Unfortunately, in JVM world (unlike .NET) there is no clear notion about modules. With maven/gradle yes, we have it, and that maps to Kotlin module. In IntelliJ the same, we have modules, and module visibility is clear. If you are running from command line, or may be Ant, there is no such clear concept. So we assume module is all sources compiled by kotlinc in a single “batch”.