[Wasm] Add K2 gradle integration test
This commit is contained in:
committed by
Space Team
parent
75142230b6
commit
19bdec50f2
+2
-1
@@ -49,7 +49,8 @@ class KotlinToolingMetadataMppIT : BaseGradleIT() {
|
|||||||
KotlinPlatformType.common.name.takeIf { !isKpmModelMappingEnabled },
|
KotlinPlatformType.common.name.takeIf { !isKpmModelMappingEnabled },
|
||||||
KotlinPlatformType.jvm.name,
|
KotlinPlatformType.jvm.name,
|
||||||
KotlinPlatformType.js.name,
|
KotlinPlatformType.js.name,
|
||||||
KotlinPlatformType.native.name
|
KotlinPlatformType.native.name,
|
||||||
|
KotlinPlatformType.wasm.name,
|
||||||
).sorted(),
|
).sorted(),
|
||||||
metadata.projectTargets.map { it.platformType }.sorted()
|
metadata.projectTargets.map { it.platformType }.sorted()
|
||||||
)
|
)
|
||||||
|
|||||||
+6
@@ -155,6 +155,12 @@ class TryK2IT : KGPBaseTest() {
|
|||||||
assertCompilerArgument(":compileKotlinJs", "-language-version 2.0")
|
assertCompilerArgument(":compileKotlinJs", "-language-version 2.0")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build(":compileKotlinWasm") {
|
||||||
|
assertTasksExecuted(":compileKotlinWasm")
|
||||||
|
|
||||||
|
assertCompilerArgument(":compileKotlinWasm", "-language-version 2.0")
|
||||||
|
}
|
||||||
|
|
||||||
build(":compileKotlinLinuxX64") {
|
build(":compileKotlinLinuxX64") {
|
||||||
assertTasksExecuted(":compileKotlinLinuxX64")
|
assertTasksExecuted(":compileKotlinLinuxX64")
|
||||||
|
|
||||||
|
|||||||
+1
@@ -16,6 +16,7 @@ kotlin {
|
|||||||
jvm()
|
jvm()
|
||||||
js()
|
js()
|
||||||
linuxX64()
|
linuxX64()
|
||||||
|
wasm()
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
val commonMain by getting {
|
val commonMain by getting {
|
||||||
|
|||||||
Reference in New Issue
Block a user