-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Recent Gradle versions when used in Dockerfile of JDK workshop images yield an error:
#14 0.335 Welcome to Gradle 8.14.3!
#14 0.335
#14 0.335 Here are the highlights of this release:
#14 0.335 - Java 24 support
#14 0.336 - GraalVM Native Image toolchain selection
#14 0.336 - Enhancements to test reporting
#14 0.336 - Build Authoring improvements
#14 0.336
#14 0.336 For more details see https://docs.gradle.org/8.14.3/release-notes.html
#14 0.336
#14 0.336 Starting a Gradle Daemon (subsequent builds will be faster)
#14 1.633 > Task :init FAILED
#14 1.633
#14 1.633 FAILURE: Build failed with an exception.
#14 1.633
#14 1.633 * What went wrong:
#14 1.633 Execution failed for task ':init'.
#14 1.633 > Aborting build initialization due to existing files in the project directory: '/home/eduk8s'.
#14 1.634
#14 1.634 * Try:
#14 1.634 > Remove any existing files in the project directory and run the init task again.
#14 1.634 > Enable the --overwrite option to allow existing files to be overwritten.
#14 1.634 > Run with --stacktrace option to get the stack trace.
#14 1.634 > Run with --info or --debug option to get more log output.
#14 1.634 > Run with --scan to get full insights.
#14 1.634 > Get more help at https://help.gradle.org.
#14 1.634
#14 1.634 BUILD FAILED in 1s
#14 1.634 1 actionable task: 1 executed
#14 ERROR: process "/bin/sh -c if [ \"${TARGETARCH}\" = \"arm64\" ]; then export MAVEN_OPTS=\"-XX:UseSVE=0\"; export JAVA_OPTS=\"-XX:UseSVE=0\"; mv gradle.properties-arm64 gradle.properties; fi && gradle init && gradle wrapper --gradle-version=8.14.3 --distribution-type=bin && ./gradlew build" did not complete successfully: exit code: 1
The JDK8,11,17 images still use Gradle 8.5. The JDK21 image was using Gradle 8.8.
Need to work out whether newer versions can be used or not.
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Untriaged