0

无法解析配置“:enclave:compileClasspath”的所有任务依赖项。

无法解析项目:common。

 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

尝试运行 column-profiling conclave 并收到错误消息 https://github.com/r3conclave/conclave-samples

4

1 回答 1

0

在 common 项目中将 sourceCompatibility = 1.8 添加到 build.gradle 应该可以解决此问题。我将使用相同的更新示例。

于 2021-08-12T06:01:53.040 回答