File tree Expand file tree Collapse file tree 1 file changed +12
-32
lines changed
examples/kotlin-multiplatform Expand file tree Collapse file tree 1 file changed +12
-32
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,6 @@ allOpen {
10
10
}
11
11
12
12
kotlin {
13
- infra {
14
- target(' macosX64' )
15
- target(' linuxX64' )
16
- target(' mingwX64' )
17
- }
18
-
19
13
jvm {
20
14
compilations. all {
21
15
kotlinOptions {
@@ -25,16 +19,16 @@ kotlin {
25
19
}
26
20
27
21
js {
28
- nodejs {
29
-
30
- }
22
+ nodejs { }
31
23
}
32
24
25
+ macosX64 { }
26
+ linuxX64 { }
27
+ mingwX64 { }
28
+
33
29
sourceSets. all {
34
30
languageSettings {
35
31
progressiveMode = true
36
- useExperimentalAnnotation(" kotlin.Experimental" )
37
- useExperimentalAnnotation(' kotlin.ExperimentalUnsignedTypes' )
38
32
}
39
33
}
40
34
@@ -44,30 +38,17 @@ kotlin {
44
38
implementation project(" :kotlinx-benchmark-runtime" )
45
39
}
46
40
}
47
- commonTest {
48
- dependencies {
49
- implementation ' org.jetbrains.kotlin:kotlin-test-common'
50
- implementation ' org.jetbrains.kotlin:kotlin-test-annotations-common'
51
- }
52
- }
41
+
53
42
jvmMain {}
54
- jvmTest {
55
- dependencies {
56
- implementation ' org.jetbrains.kotlin:kotlin-test'
57
- implementation ' org.jetbrains.kotlin:kotlin-test-junit'
58
- }
59
- }
43
+
60
44
jsMain {}
61
- jsTest {
62
- dependencies {
63
- implementation ' org.jetbrains.kotlin:kotlin-test-js'
64
- }
65
- }
66
45
67
46
nativeMain {
68
- dependsOn commonMain
69
- dependencies {
70
- }
47
+ dependsOn(commonMain)
48
+
49
+ macosX64Main. dependsOn(it)
50
+ linuxX64Main. dependsOn(it)
51
+ mingwX64Main. dependsOn(it)
71
52
}
72
53
}
73
54
}
@@ -119,7 +100,6 @@ benchmark {
119
100
jmhVersion = " 1.21"
120
101
}
121
102
register(" js" )
122
- register(" native" )
123
103
register(" macosX64" )
124
104
register(" linuxX64" )
125
105
register(" mingwX64" )
You can’t perform that action at this time.
0 commit comments