@@ -48,7 +48,8 @@ kotlin {
48
48
watchosDeviceArm64(),
49
49
mingwX64(),
50
50
mingwX86(),
51
- linuxX64()
51
+ linuxX64(),
52
+ linuxArm64(),
52
53
)
53
54
54
55
knTargets
@@ -59,13 +60,11 @@ kotlin {
59
60
sourceSets {
60
61
commonMain {
61
62
dependencies {
62
- implementation(" org.jetbrains.kotlin:kotlin-stdlib-common" )
63
63
}
64
64
}
65
65
commonTest {
66
66
dependencies {
67
- implementation(" org.jetbrains.kotlin:kotlin-test-common" )
68
- implementation(" org.jetbrains.kotlin:kotlin-test-annotations-common" )
67
+ implementation(" org.jetbrains.kotlin:kotlin-test" )
69
68
}
70
69
}
71
70
@@ -75,9 +74,15 @@ kotlin {
75
74
val appleMain = sourceSets.maybeCreate(" appleMain" ).apply {
76
75
dependsOn(nativeCommonMain)
77
76
}
78
- val linuxMain = sourceSets.maybeCreate(" linuxX64Main " ).apply {
77
+ val linuxMain = sourceSets.maybeCreate(" linuxMain " ).apply {
79
78
dependsOn(nativeCommonMain)
80
79
}
80
+ val linuxX64Main = sourceSets.maybeCreate(" linuxX64Main" ).apply {
81
+ dependsOn(linuxMain)
82
+ }
83
+ val linuxArm64Main = sourceSets.maybeCreate(" linuxArm64Main" ).apply {
84
+ dependsOn(linuxMain)
85
+ }
81
86
82
87
val mingwMain = sourceSets.maybeCreate(" mingwMain" ).apply {
83
88
dependsOn(nativeCommonMain)
@@ -112,8 +117,11 @@ kotlin {
112
117
113
118
if (! HostManager .hostIsLinux) {
114
119
tasks.findByName(" linuxX64Test" )?.enabled = false
120
+ tasks.findByName(" linuxArm64Test" )?.enabled = false
115
121
tasks.findByName(" linkDebugTestLinuxX64" )?.enabled = false
122
+ tasks.findByName(" linkDebugTestLinuxArm64" )?.enabled = false
116
123
tasks.findByName(" publishLinuxX64PublicationToMavenRepository" )?.enabled = false
124
+ tasks.findByName(" publishLinuxArm64PublicationToMavenRepository" )?.enabled = false
117
125
}
118
126
119
127
if (! HostManager .hostIsMingw) {
0 commit comments