What is a Kotlin module?

后端 未结 2 1628
一生所求
一生所求 2021-01-17 09:18

In the Kotlin documentation they are mentioning some kind of module for instance in the documentation for the internal modifier.

However I coul

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-17 09:55

    A module is a set of Kotlin sources compiled together:

    • an IntelliJ IDEA module;
    • a Maven project;
    • a Gradle source set;
    • a set of files compiled with one invocation of the Ant task.

    This is in the same docs article about visibility modifiers. :)

提交回复
热议问题