Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Could not determine the dependencies of task ':moduleB:compileKotlinJvm'.
- > Could not resolve all task dependencies for configuration ':moduleB:jvmCompileClasspath'.
- > Could not resolve project :core.
- Required by:
- project : moduleB
- > The consumer was configured to find an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'. However we cannot choose between the following variants of project :core:
- - apiElements
- - javadocElements
- - jvmApiElements
- - jvmCompile
- - jvmCompileOnly
- - jvmDefault
- - jvmRuntime
- - jvmRuntimeElements
- - jvmTestCompile
- - jvmTestRuntime
- - runtimeElements
- All of them match the consumer attributes:
- - Variant 'apiElements' capability com.example.moduleA:0.0.1 declares an API of a component:
- - Unmatched attributes:
- - Provides a library but the consumer didn't ask for it
- - Provides its dependencies declared externally but the consumer didn't ask for it
- - Provides compatibility with Java 15 but the consumer didn't ask for it
- - Provides its elements packaged as a jar but the consumer didn't ask for it
- - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'jvm')
- - Variant 'javadocElements' capability com.example.moduleA:0.0.1 declares a runtime of a component:
- - Unmatched attributes:
- - Provides documentation but the consumer didn't ask for it
- - Provides its dependencies declared externally but the consumer didn't ask for it
- - Provides javadocs but the consumer didn't ask for it
- - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'jvm')
- - Variant 'jvmApiElements' com.example.moduleA:0.0.1 declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- - Unmatched attributes:
- - Provides its elements packaged as a jar but the consumer didn't ask for it
- - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'public' but the consumer didn't ask for it
- - Variant 'jvmCompile' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- - Unmatched attributes:
- - Doesn't say anything about its usage (required an API)
- - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
- - Variant 'jvmCompileOnly' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- - Unmatched attributes:
- - Doesn't say anything about its usage (required an API)
- - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
- - Variant 'jvmDefault' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- - Unmatched attributes:
- - Doesn't say anything about its usage (required an API)
- - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
- - Variant 'jvmRuntime' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- - Unmatched attributes:
- - Doesn't say anything about its usage (required an API)
- - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
- - Variant 'jvmRuntimeElements' capability com.example.moduleA:0.0.1 declares a runtime of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- - Unmatched attributes:
- - Provides its elements packaged as a jar but the consumer didn't ask for it
- - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'public' but the consumer didn't ask for it
- - Variant 'jvmTestCompile' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- - Unmatched attributes:
- - Doesn't say anything about its usage (required an API)
- - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
- - Variant 'jvmTestRuntime' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- - Unmatched attributes:
- - Doesn't say anything about its usage (required an API)
- - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
- - Variant 'runtimeElements' com.example.moduleA:0.0.1 declares a runtime of a component:
- - Unmatched attributes:
- - Provides a library but the consumer didn't ask for it
- - Provides its dependencies declared externally but the consumer didn't ask for it
- - Provides compatibility with Java 15 but the consumer didn't ask for it
- - Provides its elements packaged as a jar but the consumer didn't ask for it
- - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'jvm')
- The following variants were also considered but didn't match the requested attributes:
- - Variant 'commonMainMetadataElements' capability com.example.moduleA:0.0.1:
- - Incompatible because this component declares a usage of 'kotlin-api' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
- - Variant 'metadataApiElements' capability com.example.moduleA:0.0.1:
- - Incompatible because this component declares a usage of 'kotlin-metadata' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
- - Variant 'metadataCommonMainCompile' capability com.example.moduleA:0.0.1:
- - Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
- - Other compatible attribute:
- - Doesn't say anything about its usage (required an API)
- - Variant 'metadataCommonMainCompileOnly' capability com.example.moduleA:0.0.1:
- - Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
- - Other compatible attribute:
- - Doesn't say anything about its usage (required an API)
- - Variant 'metadataCompile' capability com.example.moduleA:0.0.1:
- - Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
- - Other compatible attribute:
- - Doesn't say anything about its usage (required an API)
- - Variant 'metadataCompileOnly' capability com.example.moduleA:0.0.1:
- - Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
- - Other compatible attribute:
- - Doesn't say anything about its usage (required an API)
- - Variant 'metadataDefault' capability com.example.moduleA:0.0.1:
- - Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
- - Other compatible attribute:
- - Doesn't say anything about its usage (required an API)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement