创建多平台库

    1. In IntelliJ IDEA, select File | New | Project.
    2. In the panel on the left, select Kotlin.
    3. Enter a project name and select Library under Multiplatform as the project template.

    4. Click Next.

    You can finish creating the project by clicking Finish on the next screen or configure it if necessary:

    1. Add the target platforms and modules by clicking the + icon.
    2. Configure target settings, such as the target template, JVM target version, and test framework.

    The new project opens. .