You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=> ERROR [builder 6/8] RUN ./gradlew dependencies 55.3s
------
> [builder 6/8] RUN ./gradlew dependencies:
#0 0.457 Downloading https://services.gradle.org/distributions/gradle-8.6-bin.zip
#0 1.850 ............10%.............20%............30%.............40%.............50%............60%.............70%.............80%............90%.............100%
#0 4.345
#0 4.346 Welcome to Gradle 8.6!
#0 4.346
#0 4.346 Here are the highlights of this release:
#0 4.347 - Configurable encryption key for configuration cache
#0 4.347 - Build init improvements
#0 4.347 - Build authoring improvements
#0 4.347
#0 4.347 For more details see https://docs.gradle.org/8.6/release-notes.html
#0 4.347
#0 4.539 Starting a Gradle Daemon (subsequent builds will be faster)
#0 54.54
#0 54.54 FAILURE: Build failed with an exception.
#0 54.54
#0 54.54 * What went wrong:
#0 54.54 A problem occurred configuring root project 'AquaDX'.
#0 54.54 > Could not resolve all files for configuration ':classpath'.
#0 54.55 > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.2.3.
#0 54.55 Required by:
#0 54.55 project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.2.3
#0 54.55 > No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.2.3 was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.6' but:
#0 54.55 - Variant 'apiElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.2.3 declares a library, packaged as a jar, and its dependencies declared externally:
#0 54.55 - Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11
#0 54.55 - Other compatible attribute:
#0 54.55 - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
#0 54.55 - Variant 'javadocElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.2.3 declares a component for use during runtime, and its dependencies declared externally:
#0 54.55 - Incompatible because this component declares documentation and the consumer needed a library
#0 54.55 - Other compatible attributes:
#0 54.55 - Doesn't say anything about its target Java version (required compatibility with Java 11)
#0 54.55 - Doesn't say anything about its elements (required them packaged as a jar)
#0 54.55 - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
#0 54.55 - Variant 'mavenOptionalApiElements' capability org.springframework.boot:spring-boot-gradle-plugin-maven-optional:3.2.3 declares a library, packaged as a jar, and its dependencies declared externally:
#0 54.55 - Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11
#0 54.55 - Other compatible attribute:
#0 54.55 - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
#0 54.55 - Variant 'mavenOptionalRuntimeElements' capability org.springframework.boot:spring-boot-gradle-plugin-maven-optional:3.2.3 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
#0 54.55 - Incompatible because this component declares a component, compatible with Java 17 and the consumer needed a component, compatible with Java 11
#0 54.55 - Other compatible attribute:
#0 54.55 - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
#0 54.55 - Variant 'runtimeElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.2.3 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
#0 54.55 - Incompatible because this component declares a component, compatible with Java 17 and the consumer needed a component, compatible with Java 11
#0 54.55 - Other compatible attribute:
#0 54.55 - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
#0 54.55 - Variant 'sourcesElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.2.3 declares a component for use during runtime, and its dependencies declared externally:
#0 54.55 - Incompatible because this component declares documentation and the consumer needed a library
#0 54.55 - Other compatible attributes:
#0 54.55 - Doesn't say anything about its target Java version (required compatibility with Java 11)
#0 54.55 - Doesn't say anything about its elements (required them packaged as a jar)
#0 54.55 - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')
#0 54.55
#0 54.55 * Try:
#0 54.55 > Review the variant matching algorithm at https://docs.gradle.org/8.6/userguide/variant_attributes.html#sec:abm_algorithm.
#0 54.55 > No matching variant errors are explained in more detail at https://docs.gradle.org/8.6/userguide/variant_model.html#sub:variant-no-match.
#0 54.55 > Run with --stacktrace option to get the stack trace.
#0 54.55 > Run with --info or --debug option to get more log output.
#0 54.55 > Run with --scan to get full insights.
#0 54.55 > Get more help at https://help.gradle.org.
#0 54.55
#0 54.55 BUILD FAILED in 54s
------
Dockerfile:14
--------------------
12 |
13 | # Download dependencies - cached if build.gradle.kts and settings.gradle.kts are unchanged
14 | >>> RUN ./gradlew dependencies
15 |
16 | # Copy the project source, this layer is rebuilt whenever a file has changed
--------------------
ERROR: failed to solve: process "/bin/sh -c ./gradlew dependencies" did not complete successfully: exit code: 1
This seems to be an issue of incompatible jdk version. I tried jdk17 and it works fine.
The text was updated successfully, but these errors were encountered:
Logs are below.
This seems to be an issue of incompatible jdk version. I tried jdk17 and it works fine.
The text was updated successfully, but these errors were encountered: