Skip to content

Commit f77b991

Browse files
committed
WIP Avoid iosMain dependencies when no iOS targets are defined
1 parent da86326 commit f77b991

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tasks-core/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ kotlin {
4949
implementation(kotlin("test"))
5050
}
5151

52-
iosMain.dependencies {
53-
implementation(libs.bignum)
52+
if (iosTargets.isNotEmpty()) {
53+
iosMain.dependencies {
54+
implementation(libs.bignum)
55+
}
5456
}
5557
}
5658
}

0 commit comments

Comments
 (0)