Skip to content

Commit e4a1f63

Browse files
committed
iosMain rename additional fixes
1 parent 048db57 commit e4a1f63

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

compose/foundation/foundation-layout/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ androidXMultiplatform {
177177

178178
if (target.platformType == KotlinPlatformType.native) {
179179
if (target.konanTarget.family == Family.IOS) {
180-
target.compilations["main"].defaultSourceSet.dependsOn(uikitMain)
181-
target.compilations["test"].defaultSourceSet.dependsOn(uikitTest)
180+
target.compilations["main"].defaultSourceSet.dependsOn(iosMain)
181+
target.compilations["test"].defaultSourceSet.dependsOn(iosTest)
182182
} else if (target.konanTarget.family == Family.OSX) {
183183
target.compilations["main"].defaultSourceSet.dependsOn(macosMain)
184184
target.compilations["test"].defaultSourceSet.dependsOn(macosTest)

compose/foundation/foundation/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ androidXMultiplatform {
259259

260260
if (target.platformType == KotlinPlatformType.native) {
261261
if (target.konanTarget.family == Family.IOS) {
262-
target.compilations["main"].defaultSourceSet.dependsOn(uikitMain)
263-
target.compilations["test"].defaultSourceSet.dependsOn(uikitTest)
262+
target.compilations["main"].defaultSourceSet.dependsOn(iosMain)
263+
target.compilations["test"].defaultSourceSet.dependsOn(iosTest)
264264
} else if (target.konanTarget.family == Family.OSX) {
265265
target.compilations["main"].defaultSourceSet.dependsOn(macosMain)
266266
target.compilations["test"].defaultSourceSet.dependsOn(macosTest)

compose/material3/material3/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ androidXMultiplatform {
226226

227227
if (target.platformType == KotlinPlatformType.native) {
228228
if (target.konanTarget.family == Family.IOS) {
229-
target.compilations["main"].defaultSourceSet.dependsOn(uikitMain)
230-
target.compilations["test"].defaultSourceSet.dependsOn(uikitTest)
229+
target.compilations["main"].defaultSourceSet.dependsOn(iosMain)
230+
target.compilations["test"].defaultSourceSet.dependsOn(iosTest)
231231
} else if (target.konanTarget.family.appleFamily) {
232232
target.compilations["main"].defaultSourceSet.dependsOn(darwinMain)
233233
target.compilations["test"].defaultSourceSet.dependsOn(darwinTest)

compose/ui/ui-test/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ androidXMultiplatform {
234234

235235
if (target.platformType == KotlinPlatformType.native) {
236236
if (target.konanTarget.family == Family.IOS) {
237-
target.compilations["main"].defaultSourceSet.dependsOn(uikitMain)
238-
target.compilations["test"].defaultSourceSet.dependsOn(uikitTest)
237+
target.compilations["main"].defaultSourceSet.dependsOn(iosMain)
238+
target.compilations["test"].defaultSourceSet.dependsOn(iosTest)
239239
} else if (target.konanTarget.family == Family.OSX) {
240240
target.compilations["main"].defaultSourceSet.dependsOn(macosMain)
241241
target.compilations["test"].defaultSourceSet.dependsOn(macosTest)

compose/ui/ui-text/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ androidXMultiplatform {
238238

239239
if (target.platformType == KotlinPlatformType.native) {
240240
if (target.konanTarget.family == Family.IOS) {
241-
target.compilations["main"].defaultSourceSet.dependsOn(uikitMain)
242-
target.compilations["test"].defaultSourceSet.dependsOn(uikitTest)
241+
target.compilations["main"].defaultSourceSet.dependsOn(iosMain)
242+
target.compilations["test"].defaultSourceSet.dependsOn(iosTest)
243243
} else if (target.konanTarget.family == Family.OSX) {
244244
target.compilations["main"].defaultSourceSet.dependsOn(macosMain)
245245
target.compilations["test"].defaultSourceSet.dependsOn(macosTest)

compose/ui/ui-util/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ androidXMultiplatform {
147147

148148
if (target.platformType == KotlinPlatformType.native) {
149149
if (target.konanTarget.family == Family.IOS) {
150-
target.compilations["main"].defaultSourceSet.dependsOn(uikitMain)
151-
target.compilations["test"].defaultSourceSet.dependsOn(uikitTest)
150+
target.compilations["main"].defaultSourceSet.dependsOn(iosMain)
151+
target.compilations["test"].defaultSourceSet.dependsOn(iosTest)
152152
} else if (target.konanTarget.family == Family.OSX) {
153153
target.compilations["main"].defaultSourceSet.dependsOn(macosMain)
154154
target.compilations["test"].defaultSourceSet.dependsOn(macosTest)

compose/ui/ui/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ androidXMultiplatform {
344344

345345
if (target.platformType == KotlinPlatformType.native) {
346346
if (target.konanTarget.family == Family.IOS) {
347-
target.compilations["main"].defaultSourceSet.dependsOn(uikitMain)
348-
target.compilations["test"].defaultSourceSet.dependsOn(uikitTest)
347+
target.compilations["main"].defaultSourceSet.dependsOn(iosMain)
348+
target.compilations["test"].defaultSourceSet.dependsOn(iosTest)
349349
} else if (target.konanTarget.family == Family.OSX) {
350350
target.compilations["main"].defaultSourceSet.dependsOn(macosMain)
351351
target.compilations["test"].defaultSourceSet.dependsOn(macosTest)

navigation/navigation-compose/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ androidXMultiplatform {
211211
targets.configureEach { target ->
212212
if (target.platformType == KotlinPlatformType.native) {
213213
if (target.konanTarget.family == Family.IOS) {
214-
target.compilations["main"].defaultSourceSet.dependsOn(uikitMain)
215-
target.compilations["test"].defaultSourceSet.dependsOn(uikitTest)
214+
target.compilations["main"].defaultSourceSet.dependsOn(iosMain)
215+
target.compilations["test"].defaultSourceSet.dependsOn(iosTest)
216216
} else if (target.konanTarget.family == Family.OSX) {
217217
target.compilations["main"].defaultSourceSet.dependsOn(macosMain)
218218
target.compilations["test"].defaultSourceSet.dependsOn(macosTest)

navigation3/navigation3-ui/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ androidXMultiplatform {
150150
targets.configureEach { target ->
151151
if (target.platformType == KotlinPlatformType.native) {
152152
if (target.konanTarget.family == Family.IOS) {
153-
target.compilations["main"].defaultSourceSet.dependsOn(uikitMain)
154-
target.compilations["test"].defaultSourceSet.dependsOn(uikitTest)
153+
target.compilations["main"].defaultSourceSet.dependsOn(iosMain)
154+
target.compilations["test"].defaultSourceSet.dependsOn(iosTest)
155155
} else if (target.konanTarget.family == Family.OSX) {
156156
target.compilations["main"].defaultSourceSet.dependsOn(macosMain)
157157
target.compilations["test"].defaultSourceSet.dependsOn(macosTest)

0 commit comments

Comments
 (0)