Skip to content

Commit

Permalink
Update whatsnew21.md
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin authored Jan 3, 2025
1 parent d5ac1dc commit 00c23af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/whatsnew21.md
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ If other parts of your build logic (e.g. plugins such as kotlinter or others) de

To guard against those issues, KGP will now display a warning if `org.jetbrains.kotlin:kotlin-compiler-embeddable` is loaded in the build classpath alongside KGP.

As a long term fix, if you are a plugin author using `org.jetbrains.kotlin:kotlin-compiler-embeddable` classes, we require doing so in an isolated classloader.
As a long term fix, if you are a plugin author using `org.jetbrains.kotlin:kotlin-compiler-embeddable` classes, we recommend doing so in an isolated classloader.

This can for an example be done using the [Gradle Workers API](https://docs.gradle.org/current/userguide/worker_api.html)
with classloader or process isolation.
Expand Down

0 comments on commit 00c23af

Please sign in to comment.