Advertisement
Guest User

Untitled

a guest
Dec 7th, 2020
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.00 KB | None | 0 0
  1. Could not determine the dependencies of task ':moduleB:compileKotlinJvm'.
  2. > Could not resolve all task dependencies for configuration ':moduleB:jvmCompileClasspath'.
  3. > Could not resolve project :core.
  4. Required by:
  5. project : moduleB
  6. > 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:
  7. - apiElements
  8. - javadocElements
  9. - jvmApiElements
  10. - jvmCompile
  11. - jvmCompileOnly
  12. - jvmDefault
  13. - jvmRuntime
  14. - jvmRuntimeElements
  15. - jvmTestCompile
  16. - jvmTestRuntime
  17. - runtimeElements
  18. All of them match the consumer attributes:
  19. - Variant 'apiElements' capability com.example.moduleA:0.0.1 declares an API of a component:
  20. - Unmatched attributes:
  21. - Provides a library but the consumer didn't ask for it
  22. - Provides its dependencies declared externally but the consumer didn't ask for it
  23. - Provides compatibility with Java 15 but the consumer didn't ask for it
  24. - Provides its elements packaged as a jar but the consumer didn't ask for it
  25. - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'jvm')
  26. - Variant 'javadocElements' capability com.example.moduleA:0.0.1 declares a runtime of a component:
  27. - Unmatched attributes:
  28. - Provides documentation but the consumer didn't ask for it
  29. - Provides its dependencies declared externally but the consumer didn't ask for it
  30. - Provides javadocs but the consumer didn't ask for it
  31. - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'jvm')
  32. - 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':
  33. - Unmatched attributes:
  34. - Provides its elements packaged as a jar but the consumer didn't ask for it
  35. - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'public' but the consumer didn't ask for it
  36. - Variant 'jvmCompile' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
  37. - Unmatched attributes:
  38. - Doesn't say anything about its usage (required an API)
  39. - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
  40. - Variant 'jvmCompileOnly' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
  41. - Unmatched attributes:
  42. - Doesn't say anything about its usage (required an API)
  43. - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
  44. - Variant 'jvmDefault' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
  45. - Unmatched attributes:
  46. - Doesn't say anything about its usage (required an API)
  47. - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
  48. - Variant 'jvmRuntime' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
  49. - Unmatched attributes:
  50. - Doesn't say anything about its usage (required an API)
  51. - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
  52. - 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':
  53. - Unmatched attributes:
  54. - Provides its elements packaged as a jar but the consumer didn't ask for it
  55. - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'public' but the consumer didn't ask for it
  56. - Variant 'jvmTestCompile' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
  57. - Unmatched attributes:
  58. - Doesn't say anything about its usage (required an API)
  59. - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
  60. - Variant 'jvmTestRuntime' capability com.example.moduleA:0.0.1 declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
  61. - Unmatched attributes:
  62. - Doesn't say anything about its usage (required an API)
  63. - Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :core' but the consumer didn't ask for it
  64. - Variant 'runtimeElements' com.example.moduleA:0.0.1 declares a runtime of a component:
  65. - Unmatched attributes:
  66. - Provides a library but the consumer didn't ask for it
  67. - Provides its dependencies declared externally but the consumer didn't ask for it
  68. - Provides compatibility with Java 15 but the consumer didn't ask for it
  69. - Provides its elements packaged as a jar but the consumer didn't ask for it
  70. - Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'jvm')
  71. The following variants were also considered but didn't match the requested attributes:
  72. - Variant 'commonMainMetadataElements' capability com.example.moduleA:0.0.1:
  73. - 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'
  74. - Variant 'metadataApiElements' capability com.example.moduleA:0.0.1:
  75. - 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'
  76. - Variant 'metadataCommonMainCompile' capability com.example.moduleA:0.0.1:
  77. - 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'
  78. - Other compatible attribute:
  79. - Doesn't say anything about its usage (required an API)
  80. - Variant 'metadataCommonMainCompileOnly' capability com.example.moduleA:0.0.1:
  81. - 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'
  82. - Other compatible attribute:
  83. - Doesn't say anything about its usage (required an API)
  84. - Variant 'metadataCompile' capability com.example.moduleA:0.0.1:
  85. - 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'
  86. - Other compatible attribute:
  87. - Doesn't say anything about its usage (required an API)
  88. - Variant 'metadataCompileOnly' capability com.example.moduleA:0.0.1:
  89. - 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'
  90. - Other compatible attribute:
  91. - Doesn't say anything about its usage (required an API)
  92. - Variant 'metadataDefault' capability com.example.moduleA:0.0.1:
  93. - 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'
  94. - Other compatible attribute:
  95. - Doesn't say anything about its usage (required an API)
  96.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement