File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,13 @@ no longer compatible with the Kotlin Multiplatform Gradle plugin. Kotlin 2.1.20
76
76
DSL to achieve similar functionality. The new ` executable {} ` block configures execution tasks and Gradle
77
77
[ distributions] ( https://docs.gradle.org/current/userguide/distribution_plugin.html#distribution_plugin ) for JVM targets.
78
78
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 :
80
80
81
81
``` kotlin
82
- OptIn (ExperimentalKotlinGradlePluginApi ::class )
82
+ @ OptIn(ExperimentalKotlinGradlePluginApi ::class )
83
83
```
84
84
85
- Then, add the new ` executable {} ` block. For example:
85
+ For example:
86
86
87
87
``` kotlin
88
88
kotlin {
You can’t perform that action at this time.
0 commit comments