IntelliJPlatformExtension

abstract class IntelliJPlatformExtension @Inject constructor(configurations: ConfigurationContainer, providers: ProviderFactory, rootProjectDirectory: Path) : ExtensionAware

The IntelliJ Platform Gradle Plugin extension.

Inheritors

Constructors

Link copied to clipboard
@Inject
constructor(configurations: ConfigurationContainer, providers: ProviderFactory, rootProjectDirectory: Path)

Types

Link copied to clipboard
object Companion : Registrable<IntelliJPlatformExtension>
Link copied to clipboard
interface PluginConfiguration : ExtensionAware

Configures the plugin definition and stores in the plugin.xml file.

Link copied to clipboard
interface PluginVerification : ExtensionAware

IntelliJ Plugin Verifier CLI tool configuration.

Link copied to clipboard
interface Publishing

Plugin publishing configuration.

Link copied to clipboard
interface Signing

Plugin signing configuration.

Properties

Link copied to clipboard
abstract val autoReload: Property<Boolean>

Enables auto-reload of dynamic plugins. Dynamic plugin will be reloaded automatically when its content is modified. This allows a much faster development cycle by avoiding a full restart of the development instance after code changes.

Link copied to clipboard
abstract val buildSearchableOptions: Property<Boolean>

Builds an index of UI components (searchable options) for the plugin. Controls the execution of the BuildSearchableOptionsTask task.

Link copied to clipboard

Provides read-only access to the IntelliJ Platform project cache location.

Link copied to clipboard
abstract val instrumentCode: Property<Boolean>

Enables the compiled classes instrumentation. The compiled code will be enhanced with:

Link copied to clipboard

Provides read-only access to the IntelliJ Platform dependency artifact path.

Link copied to clipboard

Provides read-only access to the ProductInfo object associated with the IntelliJ Platform dependency configured for the current project.

Link copied to clipboard
abstract val projectName: Property<String>

Defines the project name, which is used for creating file structure and the build archive.

Link copied to clipboard
abstract val sandboxContainer: DirectoryProperty

The path to the sandbox container where tests and IDE instances read and write data.

Link copied to clipboard
Link copied to clipboard
abstract val splitMode: Property<Boolean>

Enables Split Mode when running the IDE.

Link copied to clipboard

Taken into account only if splitMode is set to true and specifies in which part of the IDE the plugin should be installed when runIde task is executed: the backend process, the frontend process, or both.

Functions

Link copied to clipboard
@Internal
abstract fun getExtensions(): ExtensionContainer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun publishing(@DelegatesTo(value = IntelliJPlatformExtension.Publishing::class, strategy = 1) action: Closure<*>)
Link copied to clipboard
fun signing(@DelegatesTo(value = IntelliJPlatformExtension.Signing::class, strategy = 1) action: Closure<*>)
Link copied to clipboard
fun verifyPlugin(@DelegatesTo(value = IntelliJPlatformExtension.PluginVerification::class, strategy = 1) action: Closure<*>)