diff --git a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin.md b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin.md index 224e179e6..c76a4b3b1 100644 --- a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin.md +++ b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin.md @@ -33,7 +33,7 @@ Learn more about it in the [Release Announcement](https://blog.jetbrains.com/pla IntelliJ Platform Gradle Plugin 2.x requires the following *minimal* versions: - IntelliJ Platform: **2022.3** -- Gradle: **8.2** +- Gradle: **8.5** See [the Gradle Installation guide](https://gradle.org/install/) on how to upgrade. - Java Runtime: **17** diff --git a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_dependencies_extension.md b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_dependencies_extension.md index 42e55f7bd..b243e02e7 100644 --- a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_dependencies_extension.md +++ b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_dependencies_extension.md @@ -45,10 +45,6 @@ dependencies { bundledPlugin("com.intellij.java") - pluginVerifier() - zipSigner() - instrumentationTools() - testFramework(TestFrameworkType.Platform) } @@ -77,10 +73,6 @@ dependencies { bundledPlugin 'com.intellij.java' - pluginVerifier() - zipSigner() - instrumentationTools() - testFramework TestFrameworkType.Platform.INSTANCE } @@ -123,7 +115,6 @@ See [](#custom-target-platforms) for non-default targets. | `rubymine(version, useInstaller = true)` | [RubyMine](rubymine.md) | | `rustrover(version, useInstaller = true)` | [RustRover](https://www.jetbrains.com/rust/) | | `webstorm(version, useInstaller = true)` | [WebStorm](webstorm.md) | -| `writerside(version, useInstaller = true)` | [Writerside](https://www.jetbrains.com/writerside/) | ### Custom Target Platforms @@ -211,14 +202,12 @@ To enable resolving this kind of artifacts, opt-out from the installer dependenc repositories { intellijPlatform { defaultRepositories() - jetbrainsRuntime() } } dependencies { intellijPlatform { intellijIdeaCommunity("%ijPlatform%", useInstaller = false) - jetbrainsRuntime() } } ``` @@ -230,14 +219,12 @@ dependencies { repositories { intellijPlatform { defaultRepositories() - jetbrainsRuntime() } } dependencies { intellijPlatform { intellijIdeaCommunity "%ijPlatform%", false - jetbrainsRuntime() } } ``` @@ -361,8 +348,8 @@ See also: | Function | Description | |------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `pluginVerifier(version)` | Adds a dependency on [IntelliJ Plugin Verifier](verifying_plugin_compatibility.md). | -| `zipSigner(version)` | Adds a dependency on [Marketplace ZIP Signer](plugin_signing.md). | +| `pluginVerifier(version)` | Adds a dependency on [IntelliJ Plugin Verifier](verifying_plugin_compatibility.md). Applied by default and refers to the latest available tool's version. | +| `zipSigner(version)` | Adds a dependency on [Marketplace ZIP Signer](plugin_signing.md). Applied by default and refers to the latest available tool's version. | | `bundledLibrary(path)` | **SEE NOTE BELOW**

Adds a dependency on a bundled library JAR file of the current IntelliJ Platform, like lib/annotations.jar.

| | `platformDependency(coordinates, version)` | Adds a dependency on a custom IntelliJ Platform dependency available in the [](tools_intellij_platform_gradle_plugin_repositories_extension.md#intellij-maven-repositories). | | `testPlatformDependency(coordinates, version)` | Adds a test dependency on a custom IntelliJ Platform dependency available in the [](tools_intellij_platform_gradle_plugin_repositories_extension.md#intellij-maven-repositories). | @@ -383,6 +370,8 @@ See also: Using the `jetbrainsRuntime()` or `jetbrainsRuntimeExplicit()` dependency helpers, it is possible to load a custom version of JetBrains Runtime. However, it is recommended to rely on the runtime bundled within the IntelliJ Platform dependency, if present. +The `jetbrainsRuntime()` helper is applied by default and if JetBrains Runtime is not bundled within the currently used IntelliJ Platform, it refers the relevant runtime version automatically. + | Function | Description | |-----------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |

`jetbrainsRuntime()`

| Adds a dependency on [JetBrains Runtime](ide_development_instance.md#using-a-jetbrains-runtime-for-the-development-instance) in version obtained with the current IntelliJ Platform if resolved from IntelliJ Maven Repository. | @@ -401,6 +390,8 @@ Adds a Java Compiler dependency for code instrumentation. The version is determined by the IntelliJ Platform build number. If the exact version is unavailable, the closest one is used, found by scanning all releases. +The `javaCompiler()` helper is applied by default and refers to the tool version close to the currently used IntelliJ Platform. + | Function | Description | |-------------------------------------------------------|------------------------------------------------------------------------| |

`instrumentationTools()`

| A helper function to apply all required dependencies: `javaCompiler()` | diff --git a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_types.md b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_types.md index 9eee38976..213c84586 100644 --- a/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_types.md +++ b/topics/appendix/tools/intellij_platform_gradle_plugin/tools_intellij_platform_gradle_plugin_types.md @@ -67,7 +67,6 @@ Each entry is composed of a product code and coordinates used for dependency and | `RubyMine` | `RM` | - | ✓ | | `RustRover` | `RR` | `com.jetbrains.intellij.rustrover:RustRover` | ✓ | | `WebStorm` | `WS` | `com.jetbrains.intellij.webstorm:webstorm` | ✓ | -| `Writerside` | `WRS` | `com.jetbrains.intellij.idea:writerside` | ✓ | ## `PluginBean`