How to set up a plugin dependency on clion nova?

Hi, I have plugin SequenceDiagram C/C++ which using some API on bundledPlugins com.intellij.cidr.lang, and the plugin con only work in classic engine, how to make chage to make it work in Clion Nova mode?

when I switch to Nova mode, the com.intellij.cidr.lang not availble.

Technically, my plugin is based on PSI which is provided by bundled plugin com.intellij.cidr.lang. When switching to Nova (rider Engine), what plug-in provides a similar PSI API?

Hey, the workaround I’ve found is to set the following plugins:

CLion: com.intellij.cidr.lang
CLion Nova: org.jetbrains.plugins.clion.radler

When building, I use RD-* for CLion Nova, and regular CL-* for CLion.

However, finding a replacement for the usual com.intellij.cidr.lang is a real pain…

I try to configure this in gradle like this:

    intellijPlatform {
        rider("2024.2.1")
        bundledPlugins("org.jetbrains.plugins.clion.radler")
    }

but the gradle report error:
Could not find bundled plugin with ID: 'org.jetbrains.plugins.clion.radler'.

I try this also:

    intellijPlatform {
        clion("2024.2.1")
        bundledPlugins("org.jetbrains.plugins.clion.radler")
    }

the same error reported.

I use org.jetbrains.plugins.clion.radler as an optional dependency (cf doc).

The optional module for CLion Nova gets built with RD-2024.1 (although it is supposed to run on CLion).

<depends optional="true" config-file="your-file">org.jetbrains.plugins.clion.radler</depends>
intellij {
     version.set("RD-2024.1")
}