intellij-platform-gradle-plugin
intellij-platform-gradle-plugin copied to clipboard
Transitive dependencies of a intellijPlatformPluginModule are lost
What happened?
Using intellijPlatformPluginModule on a module that brings in 3rd party libs causes the lips to be lost when building the final zip
Relevant log output or stack trace
No response
Steps to reproduce
- Have moduleA depend on a 3rd party jar such as Commonmark
- Have top level project use
intellijPlatformPluginModule(project(":moduleA")) - Run
:buildPlugin, see Zip contain the merged moduleA's jar into the composedJar, but the zip is missing the commonmark jar as a sibling jar (since composeJar isn't supposed to do any shadowing on 3rd party libs)
Doing the following works-ish by bringing in the transitive deps:
implementation(project(":moduleA")) {
intellijPlatformPluginModule(this)
}
but it composes the jar from moduleA and includes the moduleA-base.jar into the Zip which seems incorrect as well
Gradle IntelliJ Plugin version
2.0.0-beta7
Gradle version
8.8
Operating System
None
Link to build, i.e. failing GitHub Action job
No response