Gradle Setup Powering Multi-module IntelliJ Plugins

Gradle setup behind a modular IntelliJ plugin. We look at how the plugin is split into separate content modules that are build with IntelliJ Platform Gradle Plugin. Topics covered: Gradle submodules mapped to IntelliJ plugin content modules Creating an mandatory content module Sharing code between plugin modules Creating optional functionality based on an availability of an IDE module Building all this with Gradle and IntelliJ Platform Gradle Plugin. 📀 Source code repository with a fully functional plugin: https://github.com/novotnyr/multi-mod... 👀 Overall concepts in Plugin Model v2:    • Plugin Model v2 Explained:  A new way for ...   📃 IntelliJ SDK Docs: https://plugins.jetbrains.com/docs/in... Timeline 00:00 Introduction 00:29 Content Module Dependencies 00:46 Creating a new plugin with IDE Plugin Generator 00:56 Changing the target Platform version 01:03 Configuring Module subprojects in Gradle 01:19 Plugin Module architecture 01:21 Creating shared content module 02:04 Declaring content module in the main plugin descriptor 02:21 Showcasing shared content module functionality 03:00 Creating a second content module for CSS 03:42 Declaring optional content module in the main plugin descriptor 03:51 Intra-module dependencies 04:24 Invoking shared functionality from required module 04:36 Depending on bundled content modules 05:23 CSS PSI in free tier of JetBrains IDE 2026.1 05:48 Architectural Recap