Skip to content

Commit ba231dc

Browse files
committed
Another fix
1 parent 94adf77 commit ba231dc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

circuit-retained/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,14 @@ kotlin {
6868
}
6969
}
7070

71-
maybeCreate("sharedMain").apply {
71+
val sharedMain = maybeCreate("sharedMain").apply {
7272
// ViewModel doesn't have artifacts for linux, tvOS, watchOS, or Windows
7373
dependencies {
7474
implementation(libs.lifecycle.runtime.compose)
7575
implementation(libs.lifecycle.viewModel.compose)
7676
}
7777
}
78+
iosMain { dependsOn(sharedMain) }
7879

7980
commonTest { dependencies { implementation(libs.kotlin.test) } }
8081

0 commit comments

Comments
 (0)