IntelliJ Platform Gradle Plugin: minor adjustments

This commit is contained in:
Jakub Chrzanowski 2024-05-09 12:53:21 +02:00
parent 446685a276
commit cc9bae0767
No known key found for this signature in database
GPG Key ID: C39095BFD769862E
2 changed files with 7 additions and 3 deletions

View File

@ -226,7 +226,7 @@ It is possible to refer to the locally available IntelliJ-based IDE using the `l
```kotlin ```kotlin
repositories { repositories {
intellijPlatform { intellijPlatform {
localPlatformArtifacts() defaultRepositories()
} }
} }
@ -255,6 +255,7 @@ repositories {
dependencies { dependencies {
intellijPlatform { intellijPlatform {
intellijIdeaCommunity("%ijPlatform%") intellijIdeaCommunity("%ijPlatform%")
instrumentationTools()
bundledPlugin("com.intellij.java") bundledPlugin("com.intellij.java")
plugin("org.intellij.scala", "2024.1.4") plugin("org.intellij.scala", "2024.1.4")

View File

@ -57,9 +57,12 @@ It includes:
- `intellijDependencies()` — required for resolving extra IntelliJ Platform dependencies used for running specific tasks - `intellijDependencies()` — required for resolving extra IntelliJ Platform dependencies used for running specific tasks
- `binaryReleases()` — JetBrains IDEs releases required for running the IntelliJ Plugin Verifier - `binaryReleases()` — JetBrains IDEs releases required for running the IntelliJ Plugin Verifier
## IDE Releases ## IDE Releases
The following IntelliJ Platform repositories contain not only the IntelliJ Platform releases in stable, snapshot, and nightly versions, but also various dependencies, such as:
- Java Compiler required for [](tools_intellij_platform_gradle_plugin_dependencies_extension.md#code-instrumentation)
- Test Framework required for [](tools_intellij_platform_gradle_plugin_dependencies_extension.md#testing)
| Function | Description | | Function | Description |
|---------------|---------------------------------------------------------------------------------------------| |---------------|---------------------------------------------------------------------------------------------|
| `releases()` | Adds a repository for accessing IntelliJ Platform stable releases. | | `releases()` | Adds a repository for accessing IntelliJ Platform stable releases. |
@ -97,7 +100,7 @@ See also:
> Note that unless using recommended default [`defaultRepositories()`](tools_intellij_platform_gradle_plugin_repositories_extension.md#default-repositories), > Note that unless using recommended default [`defaultRepositories()`](tools_intellij_platform_gradle_plugin_repositories_extension.md#default-repositories),
> the [`localPlatformArtifacts()`](tools_intellij_platform_gradle_plugin_repositories_extension.md#additional-repositories) entry needs to be added to the `repositories {}` block > the [`localPlatformArtifacts()`](tools_intellij_platform_gradle_plugin_repositories_extension.md#additional-repositories) entry needs to be added to the `repositories {}` block
> explicitly to use local dependencies (bundled plugins, local IDE, etc.). > explicitly to use local dependencies (bundled plugins, local IDE, custom plugin repositories, etc.).
> >
{style="tip" title="localPlatformArtifacts() and defaultRepositories()"} {style="tip" title="localPlatformArtifacts() and defaultRepositories()"}