无法解决配置的所有任务依赖关系“:enclave:编译程序”。无法解决项目:常见。
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。
发布于 2021-08-12 06:01:53
在普通项目中将sourceCompatibility = 1.8添加到build.gradle应该可以解决这个问题。我将用同样的方式更新样本。
https://stackoverflow.com/questions/68739811
复制相似问题