Skip to content

Commit 59a0432

Browse files
committed
fixup
1 parent 2e8a11f commit 59a0432

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

integration-testing/mpp-sample/build.gradle.kts

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,11 @@ repositories {
2424
}
2525

2626
kotlin {
27-
jvm {
28-
jvmToolchain(8)
29-
withJava()
30-
testRuns.named("test") {
31-
executionTask.configure {
32-
useJUnitPlatform()
33-
}
34-
}
35-
}
27+
jvm()
3628
js {
3729
nodejs()
3830
}
39-
val hostOs = System.getProperty("os.name")
40-
val isArm64 = System.getProperty("os.arch") == "aarch64"
41-
val isMingwX64 = hostOs.startsWith("Windows")
42-
val nativeTarget = when {
43-
hostOs == "Mac OS X" && isArm64 -> macosArm64("native")
44-
hostOs == "Mac OS X" && !isArm64 -> macosX64("native")
45-
hostOs == "Linux" && isArm64 -> linuxArm64("native")
46-
hostOs == "Linux" && !isArm64 -> linuxX64("native")
47-
isMingwX64 -> mingwX64("native")
48-
else -> throw GradleException("Host OS is not supported in Kotlin/Native.")
49-
}
31+
macosX64("native")
5032

5133
sourceSets {
5234
val commonMain by getting

0 commit comments

Comments
 (0)