You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vadim Pakhnushev (Jira)" <ji...@apache.org> on 2023/05/04 10:55:00 UTC
[jira] [Created] (IGNITE-19418) Fix gradle build with JDK 17
Vadim Pakhnushev created IGNITE-19418:
-----------------------------------------
Summary: Fix gradle build with JDK 17
Key: IGNITE-19418
URL: https://issues.apache.org/jira/browse/IGNITE-19418
Project: Ignite
Issue Type: Bug
Components: build
Reporter: Vadim Pakhnushev
Assignee: Vadim Pakhnushev
Running {{./gradlew check}} with JAVA_HOME set to JDK 17, build fails with the following message:
{code}
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
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)