首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法确定任务‘:enclave:编译程序’的依赖关系

无法确定任务‘:enclave:编译程序’的依赖关系
EN

Stack Overflow用户
提问于 2021-08-11 09:57:42
回答 1查看 634关注 0票数 0

无法解决配置的所有任务依赖关系“:enclave:编译程序”。无法解决项目:常见。

代码语言:javascript
复制
 Required by:
     project :enclave
  > No matching variant of project :common was found. The consumer was configured to find an API of a library compatible with Java 8, preferably in the form of class files, and its dependencies declared externally but:
      - Variant 'apiElements' capability column-profiling:common:unspecified declares an API of a library, packaged as a jar, and its dependencies declared externally:
          - Incompatible because this component declares a component compatible with Java 14 and the consumer needed a component compatible with Java 8
      - Variant 'runtimeElements' capability column-profiling:common:unspecified declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
          - Incompatible because this component declares a component compatible with Java 14 and the consumer needed a component compatible with Java 8

尝试运行列分析秘密会议并收到错误消息https://github.com/r3conclave/conclave-samples

EN

回答 1

Stack Overflow用户

发布于 2021-08-12 06:01:53

在普通项目中将sourceCompatibility = 1.8添加到build.gradle应该可以解决这个问题。我将用同样的方式更新样本。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68739811

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档