Verify Plugin Project Configuration Task
Validates the plugin project configuration:
The PatchPluginXmlTask.sinceBuild property can't be lower than the target IntelliJ Platform major version.
The Java/Kotlin
sourceCompatibilityandtargetCompatibilityproperties should align Java versions required by PatchPluginXmlTask.sinceBuild and the currently used IntelliJ Platform.The Kotlin API version should align the version required by PatchPluginXmlTask.sinceBuild and the currently used IntelliJ Platform.
The used IntelliJ Platform version must be equal or higher than the minimum supported version
2022.3(223) defined in MINIMAL_INTELLIJ_PLATFORM_VERSION.The dependency on the Kotlin Standard Library should be excluded.
The Kotlin Coroutines library must not be added explicitly to the project as it is already provided with the IntelliJ Platform.
See also
Properties
The .gitignore file located in the rootDirectory, tracked for content change.
IntelliJ Platform cache directory.
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.
The apiVersion property value of compileKotlin.kotlinOptions defined in the build script.
The jvmTarget property value of compileKotlin.kotlinOptions defined in the build script.
The languageVersion property value of compileKotlin.kotlinOptions defined in the build script.
Indicates that the Kotlin Gradle Plugin is loaded and available.
kotlin.stdlib.default.dependency property value defined in the gradle.properties file.
The version of Kotlin used in the project.
This variable represents whether the Kotlin Coroutines library is added explicitly to the project dependencies.
Defines that the current project has only the Plugins.MODULE applied but no Plugin.ID.
Provides access to the IntelliJ Platform dependency artifact path.
Provides information about the IntelliJ Platform product. The information is retrieved from the product-info.json file in the IntelliJ Platform directory.
Report the directory where the verification result will be stored.
Root project path.
An architecture of the Java Runtime currently used for running Gradle.
Java Runtime parent directory.
A custom JavaLauncher instance configured with the resolved runtimeDirectory.
Metadata object of the Java Runtime currently used for running Gradle.
JavaCompile.sourceCompatibility property defined in the build script.
JavaCompile.targetCompatibility property defined in the build script.
Functions
Validates that the resolved IntelliJ Platform is supported by checking against the minimal supported IntelliJ Platform version.