formatting cleanup

This commit is contained in:
Yann Cébron 2023-04-18 18:21:51 +02:00
parent 1098030a42
commit 40c8053235
3 changed files with 7 additions and 7 deletions

View File

@ -745,14 +745,14 @@ Default value
#### javac2 #### javac2
{#tasks-instrumentcode-javac2} {#tasks-instrumentcode-javac2}
Path to the `javac2.jar` file of the IntelliJ IDEA. Path to the <path>javac2.jar</path> file of the IntelliJ IDEA.
{style="narrow"} {style="narrow"}
Type Type
: `File` : `File`
Default value Default value
: `lib/javac2.jar` resolved in [`instrumentCode.ideaDependency`](#tasks-instrumentcode-ideadependency) : <path>lib/javac2.jar</path> resolved in [`instrumentCode.ideaDependency`](#tasks-instrumentcode-ideadependency)
#### compilerVersion #### compilerVersion

View File

@ -1,7 +1,7 @@
# Gradle IntelliJ Plugin FAQ
<!-- Copyright 2000-2023 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. --> <!-- Copyright 2000-2023 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
# Gradle IntelliJ Plugin FAQ
<link-summary>FAQ for using Gradle IntelliJ Plugin</link-summary> <link-summary>FAQ for using Gradle IntelliJ Plugin</link-summary>
### How to target 2022.3 platform ### How to target 2022.3 platform
@ -262,7 +262,7 @@ To fix that issue, upgrade the Java version to the latest patch available of the
It is possible to add a dependency on a plugin available in the file system — like a plugin update downloaded manually from JetBrains Marketplace or built separately in another project. It is possible to add a dependency on a plugin available in the file system — like a plugin update downloaded manually from JetBrains Marketplace or built separately in another project.
To configure the dependency, add the `File` instance to the [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) property and point it to the `lib` directory inside the extracted plugin's directory or any other parent that contains plugin's `.jar` files. To configure the dependency, add the `File` instance to the [`intellij.plugins`](tools_gradle_intellij_plugin.md#intellij-extension-plugins) property and point it to the `lib` directory inside the extracted plugin's directory or any other parent that contains plugin's <path.jar</path> files.
<tabs group="languages"> <tabs group="languages">
<tab title="Kotlin" group-key="kotlin"> <tab title="Kotlin" group-key="kotlin">

View File

@ -124,7 +124,7 @@ See [Dependency on the standard library](https://kotlinlang.org/docs/gradle.html
The Kotlin Gradle plugin supports [incremental compilation](https://kotlinlang.org/docs/gradle-compilation-and-caches.html#incremental-compilation), which allows tracking changes in the source files so the compiler handles only updated code. The Kotlin Gradle plugin supports [incremental compilation](https://kotlinlang.org/docs/gradle-compilation-and-caches.html#incremental-compilation), which allows tracking changes in the source files so the compiler handles only updated code.
The Kotlin `1.8.20` release has a [new incremental compilation approach](https://kotlinlang.org/docs/gradle-compilation-and-caches.html#a-new-approach-to-incremental-compilation) enabled by default. The Kotlin `1.8.20` release has a [new incremental compilation approach](https://kotlinlang.org/docs/gradle-compilation-and-caches.html#a-new-approach-to-incremental-compilation) enabled by default.
Unfortunately, it is not compatible with the IntelliJ Platform — when reading large JAR files (like `app.js` or `3rd-party-rt.jar`), leading to the `Out of Memory` exception: Unfortunately, it is not compatible with the IntelliJ Platform — when reading large JAR files (like <path>app.jar</path> or <path>3rd-party-rt.jar</path>), leading to the `Out of Memory` exception:
``` ```
Execution failed for task ':compileKotlin'. Execution failed for task ':compileKotlin'.
@ -139,7 +139,7 @@ To avoid this exception, add the following line to the <path>gradle.properties</
kotlin.incremental.useClasspathSnapshot=false kotlin.incremental.useClasspathSnapshot=false
``` ```
You can find the current state of the issue in [KT-57757 Reduce classpath snapshotter memory consumption](https://youtrack.jetbrains.com/issue/KT-57757/Reduce-classpath-snapshotter-memory-consumption). You can find the current state of the issue in [KT-57757](https://youtrack.jetbrains.com/issue/KT-57757/Reduce-classpath-snapshotter-memory-consumption).
### Other Bundled Kotlin Libraries ### Other Bundled Kotlin Libraries