Skip to content

does not work together with kotlin-multiplatform #1507

Open
@Zane-XY

Description

@Zane-XY

What happened?

The plugin project may include shared subproject modules that target Kotlin Multiplatform. However, when the plugin subproject uses the Kotlin JVM plugin, it is unable to resolve the project(":shared-subproject") dependency correctly. On the other hand, if the plugin subproject uses the Kotlin Multiplatform plugin, it can resolve the shared project dependency. But, it may not recognize the SDK dependency brought by the IntelliJ plugin and fails to compile.
Need to confirm if it is possible to achieve a shared subject compiles to multiplatform targets in an IntelliJ plugin project?

Relevant log output or stack trace

No response

Steps to reproduce

as above description.

Gradle IntelliJ Plugin version

1.16.1

Gradle version

8.5

Operating System

None

Link to build, i.e. failing GitHub Action job

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions