Skip to content

Commit dd57693

Browse files
committed
chore: update whatsnew2120.md
1 parent ac3a52d commit dd57693

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/topics/whatsnew/whatsnew2120.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ no longer compatible with the Kotlin Multiplatform Gradle plugin. Kotlin 2.1.20
7676
DSL to achieve similar functionality. The new `executable {}` block configures execution tasks and Gradle
7777
[distributions](https://docs.gradle.org/current/userguide/distribution_plugin.html#distribution_plugin) for JVM targets.
7878

79-
Before using the DSL, add the following to your build script:
79+
Before the `executable {}` block in your build script, add the following `@OptIn` annotation:
8080

8181
```kotlin
82-
OptIn(ExperimentalKotlinGradlePluginApi::class)
82+
@OptIn(ExperimentalKotlinGradlePluginApi::class)
8383
```
8484

85-
Then, add the new `executable {}` block. For example:
85+
For example:
8686

8787
```kotlin
8888
kotlin {

0 commit comments

Comments
 (0)