Initialize Intelli JPlatform Plugin Task
Executes before every other task introduced by IntelliJ Platform Gradle Plugin to prepare it to run. It is responsible for:
checking if the project uses IntelliJ Platform Gradle Plugin in the latest available version
preparing the KotlinX Coroutines Java Agent file to enable coroutines debugging when developing the plugin
The self-update check can be disabled via GradleProperties.SelfUpdateCheck Gradle property. To make the Coroutines Java Agent available for the task, inherit from CoroutinesJavaAgentAware.
Properties
Specifies the Java Agent file for the Coroutines library required to enable coroutines debugging.
Holds the Configurations.INTELLIJ_PLATFORM_DEPENDENCY configuration with the IntelliJ Platform dependency added. It should not be directly accessed.
Holds the Configurations.INTELLIJ_PLATFORM_PLUGIN_DEPENDENCY configuration with the optional custom IntelliJ Platform plugins dependencies added. It should not be directly accessed.
Represents the latest version of the plugin.
Defines that the current project has only the Plugins.MODULE applied but no Plugin.ID.
Provides access to the IntelliJ Platform dependency artifact path.
Represents the current version of the plugin.
Provides information about the IntelliJ Platform product. The information is retrieved from the product-info.json file in the IntelliJ Platform directory.
Represents the property for checking if self-update checks are enabled.
Represents a lock file used to limit the plugin version checks in time. If the file is missing and other conditions are met, the version check is performed.
Functions
Validates that the resolved IntelliJ Platform is supported by checking against the minimal supported IntelliJ Platform version.