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
|`attributes`| Attributes used for [disambiguating targets](multiplatform-set-up-targets.md#distinguish-several-targets-for-one-platform) for a single platform. |
131
140
|`preset`| The preset that the target has been created from, if any. |
132
-
|`platformType`| Designates the Kotlin platform of this target. Available values: `jvm`, `androidJvm`, `js`, `native`, `common`.|
141
+
|`platformType`| Designates the Kotlin platform of this target. Available values: `jvm`, `androidJvm`, `js`, `wasm`, `native`, `common`. |
133
142
|`artifactsTaskName`| The name of the task that builds the resulting artifacts of this target. |
134
143
|`components`| The components used to setup Gradle publications. |
135
144
|`compilerOptions`| The [compiler options](gradle-compiler-options.md) used for the target. This declaration overrides any `compilerOptions {}` configured at [top level](multiplatform-dsl-reference.md#top-level-blocks). To use it, add the following opt-in: `@OptIn(ExperimentalKotlinGradlePluginApi::class)`|
@@ -161,17 +170,35 @@ kotlin {
161
170
}
162
171
```
163
172
164
-
### JavaScript targets
173
+
### Web targets
165
174
166
-
The `js {}` block describes the configuration of JavaScript targets. It can contain one of two blocks depending on the target execution environment:
175
+
The `js {}` block describes the configuration of Kotlin/JS targets, and the `wasmJs {}` block describes the configuration of
176
+
Kotlin/Wasm targets interoperable with JavaScript. They can contain one of two blocks depending on the target execution
0 commit comments