Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Running ./gradlew check with JAVA_HOME set to JDK 17, build fails with the following message:
Could not determine the dependencies of task ':ignite-arch-test:checkstyleTest'. > Could not resolve all task dependencies for configuration ':ignite-arch-test:testCompileClasspath'. > Could not resolve project :packaging. Required by: project :ignite-arch-test > No matching variant of project :packaging was found. The consumer was configured to find an API of a library compatible with Java 11, preferably in the form of class files, preferably optimized for standard JVMs, and its dependencies declared externally but: - Variant 'apiElements' capability org.apache.ignite:packaging:3.0.0-SNAPSHOT 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 17 and the consumer needed a component compatible with Java 11
Attachments
Issue Links
- links to