hfhbd
07/10/2026, 8:36 AMkotlin KotlinSoftwareComponent when using the multiplatform plugin? I want to publish my jvmTestSuite code. The java-test-fixture plugin works locally with the mpp plugin, but it does not publish the test-fixture variant for external consumption.Vampire
07/10/2026, 9:04 AMcomponents.named<AdhocComponentWithVariants>("adhocKotlin") {
//...
}
π€·ββοΈhfhbd
07/10/2026, 9:55 AMVampire
07/10/2026, 9:56 AMVampire
07/10/2026, 9:57 AMKotlinSoftwareComponent component called kotlin,
but it seems that component somehow consideres that adhocKotlin component.
So maybe it is the intended way, no idea.hfhbd
07/10/2026, 10:00 AMhfhbd
07/10/2026, 10:26 AMcomponents.named<AdhocComponentWithVariants>("adhocKotlin") {
addVariantsFromConfiguration(
configurations.testFixturesApiElements.get(),
JavaConfigurationVariantMapping("compile", true, configurations.testFixturesCompileClasspath.get())
)
addVariantsFromConfiguration(
configurations.testFixturesRuntimeElements.get(),
JavaConfigurationVariantMapping("runtime", true, configurations.testFixturesRuntimeClasspath.get())
)
}Vampire
07/10/2026, 10:30 AMhfhbd
07/10/2026, 10:31 AMVampire
07/10/2026, 10:45 AMtapchicoma
07/10/2026, 12:01 PM