Jan
06/13/2023, 7:40 PMval appleMain by creating {
dependsOn(commonMain)
}
val appleTest by creating {
dependsOn(commonTest)
}
val iosMain by getting {
dependsOn(appleMain)
}
val macosMain by creating {
dependsOn(appleMain)
}
val macosX64Main by getting {
dependsOn(macosMain)
}
val macosArm64Main by getting {
dependsOn(macosMain)
}
val iosSimulatorArm64Main by getting {
dependsOn(iosMain)
}
val iosSimulatorArm64Test by getting {
dependsOn(appleTest)
}
However, I have 5 different modules at which it gets really hard to maintain all of them. Can I somehow make an extension function to automatically do this, what the code from above is doing? (prob more of a gradle question)Jeff Lockhart
06/13/2023, 7:51 PMtargetHierarchy
API: https://kotlinlang.org/docs/multiplatform-hierarchy.htmlJeff Lockhart
06/13/2023, 7:51 PMephemient
06/13/2023, 7:54 PMephemient
06/13/2023, 7:55 PMephemient
06/13/2023, 7:55 PMtargetHierarchy.default
in a convention plugin tooJan
06/13/2023, 7:56 PMephemient
06/13/2023, 7:57 PM