Skip to content

Commit

Permalink
formatting cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
YannCebron committed Apr 18, 2023
1 parent 1098030 commit 40c8053
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -745,14 +745,14 @@ Default value
#### 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"}
Type
: `File`
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
Expand Down
Original file line number Diff line number Diff line change
@@ -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. -->

# Gradle IntelliJ Plugin – FAQ

<link-summary>FAQ for using Gradle IntelliJ Plugin</link-summary>

### How to target 2022.3 platform
Expand Down Expand Up @@ -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.

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">
<tab title="Kotlin" group-key="kotlin">
Expand Down
4 changes: 2 additions & 2 deletions topics/tutorials/using_kotlin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `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'.
Expand All @@ -139,7 +139,7 @@ To avoid this exception, add the following line to the <path>gradle.properties</
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

Expand Down

0 comments on commit 40c8053

Please sign in to comment.