Skip to content

bundledModules per-version? #2030

@joshuataylor

Description

@joshuataylor

What's the best way to set bundledModules/bundledPlugins on a per-version basis?

I'm working on a plugin, and I need to depend on intellij.platform.langInjection if 253.*, or not if 252, as it's not bundled.

I also want to support/test multiple IDEs, e.g IntelliJ IU/IC (253 is unified as well, keep in mind), PyCharm, RubyMine, etc, so I'm unsure if some of these IDEs would bundle specific modules/plugins?

Here's a simplified build.gradle:

dependencies {
    intellijPlatform {
        create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))

        bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',').toList() })
        bundledModules(providers.gradleProperty("platformBundledModules").map { it.split(',').toList() })
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions