thevery
10/01/2018, 12:48 PMiosArm64
and iosArm32
in one config? Or probably even all 3 with iosX64.fromPreset(presets.iosArm64, 'ios64')
fromPreset(presets.iosArm32, 'ios32')
+
ios32Main.dependsOn iosMain
ios64Main.dependsOn iosMain
but there should be better wayfabianterhorst
10/01/2018, 1:24 PMconfigure([ios_x64Main, ios_arm64Main]) {
dependsOn(iosMain)
}
thevery
10/01/2018, 1:43 PMLiliia
10/01/2018, 3:38 PMsourceSets
configuration, it will be indeed like Fabian said with a little fix:
configure([ios64Main, ios32Main]) {
dependsOn iosMain
}
thevery
10/01/2018, 4:03 PMconfigure([ios64Main, ios32Main]) {
dependsOn iosMain
}
Could not get unknown property 'iosMain' for source set ios64Main of type org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSet.
Liliia
10/01/2018, 6:04 PMiosMain
declared among the other sourceSets, at least like this: iosMain {}
. Otherwise, why would Gradle create it 🙂ios
, though. But I guess you need iosMain
to be platform-agnostic, so that’s OKthevery
10/01/2018, 7:53 PM[ios32Main, ios64Main, iosSimMain].each {
it.dependsOn iosMain
}
is still easier imo than
iosMain {}
configure([ios32Main, ios64Main, iosSimMain]) {
dependsOn iosMain
}
olonho
10/02/2018, 7:16 AMthevery
10/02/2018, 8:10 AMtylerwilson
10/19/2018, 4:35 PMthevery
10/19/2018, 4:55 PM