File tree Expand file tree Collapse file tree 3 files changed +2
-20
lines changed
integration-testing/mpp-sample Expand file tree Collapse file tree 3 files changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -24,29 +24,11 @@ repositories {
2424}
2525
2626kotlin {
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
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments