Skip to content

Gradle9 compatability #114

@transcaffeine

Description

@transcaffeine

Describe the bug

Corretto 21 does not build with gradle 8.14.3. The gradle wrapper uses gradle 7.2, which is not only no longer supported but also does not receive security fixes: https://endoflife.date/gradle

To Reproduce

Build project with the latest supported gradle version (8.14.3)

Expected behavior

Successful build

Platform information

OS: Arch Linux
Version: n/a

Additional context

Welcome to Gradle 8.14.3!

Here are the highlights of this release:
 - Java 24 support
 - GraalVM Native Image toolchain selection
 - Enhancements to test reporting
 - Build Authoring improvements

For more details see https://docs.gradle.org/8.14.3/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build

[Incubating] Problems report is available at: file:///build/source/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* Where:
Build file '/build/source/build.gradle' line: 293

* What went wrong:
A problem occurred evaluating root project 'corretto-21'.
> Could not find method archiveName() for arguments [amazon-corretto-source-21.0.6.7.1.tar.gz] on task ':openjdksrc:sourceDistributionTarball' of type org.gradle.api.tasks.bundling.Tar.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 7s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions