File tree Expand file tree Collapse file tree 1 file changed +26
-34
lines changed Expand file tree Collapse file tree 1 file changed +26
-34
lines changed Original file line number Diff line number Diff line change @@ -9,48 +9,40 @@ repositories {
9
9
}
10
10
11
11
kotlin {
12
- infra {
13
- // According to https://kotlinlang.org/docs/native-target-support.html
12
+ // According to https://kotlinlang.org/docs/native-target-support.html
14
13
15
- // Tier 1
16
- target(" linuxX64" )
14
+ // Tier 1
15
+ linuxX64()
16
+ macosX64()
17
+ macosArm64()
18
+ iosSimulatorArm64()
19
+ iosX64()
17
20
18
- // Tier 2
19
- target(" linuxArm64" )
21
+ // Tier 2
22
+ linuxArm64()
23
+ watchosSimulatorArm64()
24
+ watchosX64()
25
+ watchosArm32()
26
+ watchosArm64()
27
+ tvosSimulatorArm64()
28
+ tvosX64()
29
+ tvosArm64()
30
+ iosArm64()
20
31
21
- // Tier 3
22
- target(" androidNativeArm32" )
23
- target(" androidNativeArm64" )
24
- target(" androidNativeX86" )
25
- target(" androidNativeX64" )
26
- target(" mingwX64" )
27
-
28
- common(" darwin" ) {
29
- // Tier 1
30
- target(" macosX64" )
31
- target(" macosArm64" )
32
- target(" iosSimulatorArm64" )
33
- target(" iosX64" )
34
-
35
- // Tier 2
36
- target(" watchosSimulatorArm64" )
37
- target(" watchosX64" )
38
- target(" watchosArm32" )
39
- target(" watchosArm64" )
40
- target(" tvosSimulatorArm64" )
41
- target(" tvosX64" )
42
- target(" tvosArm64" )
43
- target(" iosArm64" )
44
-
45
- // Tier 3
46
- target(" watchosDeviceArm64" )
47
- }
48
- }
32
+ // Tier 3
33
+ androidNativeArm32()
34
+ androidNativeArm64()
35
+ androidNativeX86()
36
+ androidNativeX64()
37
+ mingwX64()
38
+ watchosDeviceArm64()
49
39
50
40
jvm()
51
41
js(" jsIr" , IR ) { nodejs() }
52
42
wasm(" wasmJs" ) { d8() }
53
43
44
+ applyDefaultHierarchyTemplate()
45
+
54
46
targets. configureEach {
55
47
compilations. configureEach {
56
48
kotlinOptions. freeCompilerArgs + = " -Xexpect-actual-classes"
You can’t perform that action at this time.
0 commit comments