Kris Wong
02/04/2020, 2:26 PMkpgalligan
02/04/2020, 2:48 PMKris Wong
02/04/2020, 3:22 PMKris Wong
02/04/2020, 3:22 PMiosX64("ios") {
binaries {
framework()
}
}
Kris Wong
02/04/2020, 3:22 PMKris Wong
02/04/2020, 3:23 PMKris Wong
02/04/2020, 3:24 PMkpgalligan
02/04/2020, 3:25 PMkpgalligan
02/04/2020, 3:26 PMkpgalligan
02/04/2020, 3:26 PMkpgalligan
02/04/2020, 3:27 PMKris Wong
02/04/2020, 3:28 PMkpgalligan
02/04/2020, 3:28 PMKris Wong
02/04/2020, 3:29 PMKris Wong
02/04/2020, 3:29 PMKris Wong
02/04/2020, 3:29 PMartifact
, but it's not the right typeKris Wong
02/04/2020, 3:30 PMKris Wong
02/04/2020, 3:30 PMkpgalligan
02/04/2020, 3:31 PMiosX64("ios")
without a binary specified, and you’re not publishing with that, then I think you have a different config issue.kpgalligan
02/04/2020, 3:31 PMkpgalligan
02/04/2020, 3:32 PMkpgalligan
02/04/2020, 3:32 PMkotlin {
android {
publishAllLibraryVariants()
}
iosArm64()
iosX64()
...
Kris Wong
02/04/2020, 3:32 PMiosX64("ios") {
// binaries {
// framework()
// }
mavenPublication {
artifactId = "iosx64"
artifacts.all { println(file) }
}
}
Kris Wong
02/04/2020, 3:33 PMkpgalligan
02/04/2020, 3:35 PMframework()
or you’ll have a lot of concurrent issueskpgalligan
02/04/2020, 3:36 PMKris Wong
02/04/2020, 3:36 PMkpgalligan
02/04/2020, 3:36 PMkpgalligan
02/04/2020, 3:36 PMenableFeaturePreview('GRADLE_METADATA')
is in settings.gradle. It’s the first thing I check now because I forgot it so many timesKris Wong
02/04/2020, 3:37 PMKris Wong
02/04/2020, 3:37 PMKris Wong
02/04/2020, 3:47 PMartifacts.all
doesn't include them for some reason so they weren't being printedkpgalligan
02/04/2020, 3:47 PMKris Wong
02/04/2020, 3:48 PMkpgalligan
02/04/2020, 3:48 PMKris Wong
02/04/2020, 3:50 PM"kotlinMultiplatform", "metadata"
required to publish a multiplatform library?kpgalligan
02/04/2020, 3:50 PMkpgalligan
02/04/2020, 3:50 PMKris Wong
02/04/2020, 3:52 PMKris Wong
02/04/2020, 3:53 PMrusshwolf
02/05/2020, 1:44 PMkotlinMultiplatform
and metadata
are required. Was messing around some with what does and doesn’t need to be included when I was setting up CI for Multiplatform SettingsKris Wong
02/05/2020, 1:47 PMKris Wong
02/05/2020, 1:48 PMKris Wong
02/05/2020, 1:49 PM<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- which should be used instead. Do not delete the following line which -->
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
<!-- that they should prefer consuming it instead. -->
<!-- do_not_remove: published-with-gradle-metadata -->
Kris Wong
02/05/2020, 1:49 PMrusshwolf
02/05/2020, 1:50 PMKris Wong
02/05/2020, 1:52 PMrusshwolf
02/05/2020, 1:54 PMKris Wong
02/05/2020, 2:00 PM