Hi Joachim!
- All the features mentioned in this doc about v2 (modular) plugins except
required-if-availableshould work in 2025.2.required-if-availableattribute is supported starting with 2025.3. - Actually, it wasn’t necessary to use
packageattribute even in 2025.2. If you don’t specify it and register content modules inplugin.xmlviacontenttag, they should work. - It isn’t necessary to keep modules in separate packages even in 2025.2. If you don’t specify
packageattribute, the IDE will assume that the module classes are located in a separate JAR (lib/modules/<module.name>.jar). Recent versions of IntelliJ Platform Gradle Plugin should pack content modules to such JARs automatically. - You can merge content of
X.jarinto the module JAR, or create a special plugin module which contains an empty module XML descriptor and class-files fromX.jar. I don’t think we have a built-in support for such packaging in IntelliJ Platform Gradle Plugin, though, feel free to file an issue about that. You may also create an empty plugin content module, register it withloading=embedded. In that case ifX.jaris put directly inlibdirectory of the plugin, it’ll be included in the classpath of that module. So you can add a dependency on that module to other modules (even optional), and they will be able to use classes fromX.jar.