[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.jvm.name,
|
||||
KotlinPlatformType.js.name,
|
||||
KotlinPlatformType.native.name
|
||||
KotlinPlatformType.native.name,
|
||||
KotlinPlatformType.wasm.name,
|
||||
).sorted(),
|
||||
metadata.projectTargets.map { it.platformType }.sorted()
|
||||
)
|
||||
|
||||
+6
@@ -155,6 +155,12 @@ class TryK2IT : KGPBaseTest() {
|
||||
assertCompilerArgument(":compileKotlinJs", "-language-version 2.0")
|
||||
}
|
||||
|
||||
build(":compileKotlinWasm") {
|
||||
assertTasksExecuted(":compileKotlinWasm")
|
||||
|
||||
assertCompilerArgument(":compileKotlinWasm", "-language-version 2.0")
|
||||
}
|
||||
|
||||
build(":compileKotlinLinuxX64") {
|
||||
assertTasksExecuted(":compileKotlinLinuxX64")
|
||||
|
||||
|
||||
+1
@@ -16,6 +16,7 @@ kotlin {
|
||||
jvm()
|
||||
js()
|
||||
linuxX64()
|
||||
wasm()
|
||||
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
|
||||
Reference in New Issue
Block a user