pdvrieze / xmlutil

XML Serialization library for Kotlin
https://pdvrieze.github.io/xmlutil/
Apache License 2.0
363 stars 30 forks source link

Compile error for serialization-android:0.90.0-RC1 #212

Closed westnordost closed 1 month ago

westnordost commented 1 month ago

When I try to use the io.github.pdvrieze.xmlutil:serialization-android:0.90.0-RC1 dependency in a Android project, I get the following compile error.

I don't quite understand it, maybe you do.

I am using Android gradle plugin 8.4.1. The project is built with Kotlin 2.

If you need any other information, please let me know!

Could not resolve io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1. Click to expand the error. ``` Execution failed for task ':app:desugarDebugAndroidTestFileDependencies'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not resolve io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1. Required by: project :app > io.github.pdvrieze.xmlutil:serialization-android:0.90.0-RC1 > No matching variant of io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.4.1' but: - Variant 'iosArm64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'iosArm64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'iosArm64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'iosSimulatorArm64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'iosSimulatorArm64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'iosSimulatorArm64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'iosX64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'iosX64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'iosX64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'jsApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'jsRuntimeElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'jsSourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'jvmApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for standard JVMs: - Incompatible because this component declares a component for use during compile-time, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'jvmRuntimeElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library for use during runtime, preferably optimized for standard JVMs: - Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'jvmSourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component for use during runtime, preferably optimized for standard JVMs: - Incompatible because this component declares documentation, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a library, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'linuxArm32HfpApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'linuxArm32HfpSourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'linuxArm64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'linuxArm64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'linuxX64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'linuxX64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'macosArm64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'macosArm64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'macosArm64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'macosX64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'macosX64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'macosX64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'metadataApiElements' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'metadataSourcesElements' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'mingwX64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'mingwX64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'tvosArm64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'tvosArm64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'tvosArm64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'tvosSimulatorArm64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'tvosSimulatorArm64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'tvosSimulatorArm64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'tvosX64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'tvosX64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'tvosX64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'wasmJsApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'wasmJsRuntimeElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'wasmJsSourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'wasmWasiApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'wasmWasiRuntimeElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'wasmWasiSourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosArm32ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosArm32MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosArm32SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosArm64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosArm64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosArm64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosSimulatorArm64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosSimulatorArm64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosSimulatorArm64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosX64ApiElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-api', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosX64MetadataElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a library, preferably optimized for non-jvm: - Incompatible because this component declares a component for use during 'kotlin-metadata', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a component for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') - Variant 'watchosX64SourcesElements-published' capability io.github.pdvrieze.xmlutil:core-base:0.90.0-RC1 declares a component, preferably optimized for non-jvm: - Incompatible because this component declares documentation for use during 'kotlin-runtime', as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a library for use during runtime, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' - Other compatible attributes: - Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '8.4.1') - Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug') * Try: > Review the variant matching algorithm at https://docs.gradle.org/8.6/userguide/variant_attributes.html#sec:abm_algorithm. > No matching variant errors are explained in more detail at https://docs.gradle.org/8.6/userguide/variant_model.html#sub:variant-no-match. ```
westnordost commented 1 month ago

With serialization-android:0.86.3 there is no compile error.

pdvrieze commented 1 month ago

There is a significant change in the gradle layout. Somehow changing artefact names in gradle doesn't work correctly. This was already pointed out in #209 You could have a look at the latest snapshot release, I am looking at trying to have a verified fix by the weekend (for an RC2)