You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/topics/whatsnew/whatsnew22.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -562,7 +562,7 @@ fun main() {
562
562
### Improved Java interop with inline value classes
563
563
<primary-label ref="experimental-general"/>
564
564
565
-
Kotlin 2.2.0 introduces a new experimental annotation: `@JvmExposeBoxed`. This annotation makes it easier to consume [inline value classes](inline-classes.md) from Java.
565
+
Kotlin 2.2.0 introduces a new experimental annotation: [`@JvmExposeBoxed`](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.jvm/-jvm-expose-boxed/). This annotation makes it easier to consume [inline value classes](inline-classes.md) from Java.
566
566
567
567
By default, Kotlin compiles inline value classes to use **unboxed representations**, which are more performant but often
568
568
hard or even impossible to use from Java. For example:
@@ -991,7 +991,7 @@ kotlin {
991
991
}
992
992
```
993
993
994
-
Explore the [KGPAPI reference](https://kotlinlang.org/api/kotlin-gradle-plugin/kotlin-gradle-plugin-api/org.jetbrains.kotlin.gradle.dsl/-abi/) to learn more about configuring the binary compatibility validator.
994
+
Explore the [KGPAPI reference](https://kotlinlang.org/api/kotlin-gradle-plugin/kotlin-gradle-plugin-api/org.jetbrains.kotlin.gradle.dsl.abi/) to learn more about configuring the binary compatibility validator.
995
995
996
996
#### Multiplatform limitations
997
997
@@ -1099,16 +1099,16 @@ of new features, such as [support for the Kotlin daemon](https://youtrack.jetbra
1099
1099
1100
1100
For the KGP, using the BTA already has the following benefits:
TheKGP supports three [Kotlin compiler execution strategies](gradle-compilation-and-caches.md#defining-kotlin-compiler-execution-strategy).
1108
-
The“in process” strategy, which runs the compiler
1108
+
The"in process" strategy, which runs the compiler
1109
1109
inside the Gradle daemon process, previously didn't support incremental compilation.
1110
1110
1111
-
Now, using the BTA, the “in-process” strategy **does** support incremental compilation. To use it, add the following
1111
+
Now, using the BTA, the "in-process" strategy **does** support incremental compilation. To use it, add the following
1112
1112
property to your `gradle.properties` file:
1113
1113
1114
1114
```kotlin
@@ -1298,7 +1298,7 @@ If you encounter any issues that make you disable these feature flags, please re
1298
1298
in active development for a long time, and there are no plans to maintain it further due to its relatively small user base.
1299
1299
1300
1300
We plan to remove Ant support in2.3.0. However, Kotlin remains open to [contribution](contribute.md). If you're
1301
-
interested in becoming an external maintainer for Ant, leave a comment with the “jetbrains-team” visibility setting in [this YouTrack issue](https://youtrack.jetbrains.com/issue/KT-75875/).
1301
+
interested in becoming an external maintainer for Ant, leave a comment with the "jetbrains-team" visibility setting in [this YouTrack issue](https://youtrack.jetbrains.com/issue/KT-75875/).
1302
1302
1303
1303
* Kotlin 2.2.0 raises the deprecation level of the [`kotlinOptions{}` block in Gradle to error](compatibility-guide-22.md#deprecate-kotlinoptions-dsl).
1304
1304
Use the `compilerOptions{}` block instead. For guidance on updating your build scripts, see [Migrate from `kotlinOptions{}` to `compilerOptions{}`](gradle-compiler-options.md#migrate-from-kotlinoptions-to-compileroptions).
0 commit comments