@@ -129,8 +129,11 @@ kotlin {
129
129
130
130
@OptIn(ExperimentalKotlinGradlePluginApi ::class )
131
131
applyDefaultHierarchyTemplate {
132
- group(" nativeUnixLike" ) {
133
- withLinux()
132
+ group(" native" ) {
133
+ group(" nativeUnixLike" ) {
134
+ withLinux()
135
+ withApple()
136
+ }
134
137
}
135
138
group(" androidNative32Bit" ) {
136
139
withAndroidNativeX86()
@@ -142,32 +145,23 @@ kotlin {
142
145
withAndroidNativeArm64()
143
146
withAndroidNativeX64()
144
147
}
148
+
145
149
}
146
150
147
151
sourceSets {
148
- val nativeNonAppleMain by creating {
149
- kotlin.srcDir(" src/nativeNonAppleMain/kotlin" )
150
- dependsOn(nativeMain.get())
151
- }
152
-
153
152
val nativeUnixLikeMain by getting {
154
153
kotlin.srcDir(" src/nativeUnixLikeMain/kotlin" )
155
- dependsOn(nativeNonAppleMain )
154
+ dependsOn(nativeMain.get() )
156
155
}
157
156
158
157
val androidNative32BitMain by getting {
159
158
kotlin.srcDir(" src/androidNative32BitMain/kotlin" )
160
- dependsOn(nativeNonAppleMain )
159
+ dependsOn(nativeMain.get() )
161
160
}
162
161
163
162
val androidNative64BitMain by getting {
164
163
kotlin.srcDir(" src/androidNative64BitMain/kotlin" )
165
- dependsOn(nativeNonAppleMain)
166
- }
167
-
168
- val mingwMain by getting {
169
- kotlin.srcDir(" src/mingwMain/kotlin" )
170
- dependsOn(nativeNonAppleMain)
164
+ dependsOn(nativeMain.get())
171
165
}
172
166
173
167
val androidNative32BitTest by getting {
0 commit comments