-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should support runIde with multi-module plugin #1620
Comments
…as project dependencies and extending customizable tasks #1620
@Vanco Thank you for filing the issue! In the dependencies {
intellijPlatform {
// use ProjectDependency
localPlugin(project(":DemoPluginBase"))
// use a File/String/Directory to pass a directory with extracted plugin
localPlugin("/path/to/plugin/")
// use a File/String to pass a path to the plugin ZIP archive
localPlugin("/path/to/plugin.zip")
}
} The same helper is also available for customizable tasks, like: tasks {
val runPhpStormWithLocalPlugin by registering(CustomRunIdeTask::class) {
type = IntelliJPlatformType.PhpStorm
plugins {
localPlugin(...)
}
}
} Please let me know, if this works for you! |
@hsz Thank you for quick respond! I tried with
expected this structure:
That means: If I run |
Could you provide a minimal reproducible example so I could test it locally? |
Sure. please use this democode. |
@Vanco please try the |
@novotnyr I tried, and the issue still there. I think you don't really understand the issue. Let me explain the problem to you in detail.
and the
When it deployed into the
|
@YannCebron please see my post above. the 2.0.0-beta3, the |
@YannCebron any update? |
I think Assuming that the
Similarly, dependency However, the results of
|
Thanks for highlighting that. In the latest |
Describe the need of your request
Let's make a multi-module plugin project
DemoPlugin
, it containsDemoPluginBase
andDemoPluginExt
mudule. TheDemoPluginBase
is a plugin whitch expose an extention point, and theDemoPluginExt
is a plugin make use the extention point fromDemoPluginBase
. During the developing phese, I need to run gradle task:DemoPluginExt:runIde
, how to config the plugin dependcency to make bothDemoPluginBase
andDemoPluginExt
deploy to the .sandbox and run it?First attempt
DemoPluginExt/build.gradle.kts
If I config like this, the
DemoPluginExt
will include all jar fromDemoPluginBase
, whitch is not what I expected.Second attempt
DemoPluginExt/build.gradle.kts
how do I put the
DemoPluginBase
in the plugin dependency? because theDemoPluginBase
is not release yet, it was not in repository, it is not a bundledPlugin too. where to put local-in-developing plugin in the plugin dependency?And the sandbox only contain
DemoPluginExt
when I run:DemoPluginExt:runIde
, should haveDemoPluginBase
also.sandbox
Proposed solution
DemoPluginExt/build.gradle.kts
sandbox
Alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: