Skip to content

JReleaser uses deprecated Gradle features #4

Description

@tfield

The JReleaser plugin code configured in build.gradle is deprecated and throws a warning. Consider updating it. A newer version of the JReleaser plugin (1.16) exists but this alone does not correct the problem. For details see https://jreleaser.org/guide/latest/tools/jreleaser-gradle.html

/Volumes/SideProjects/FIRST/RunnymedeSwerve (main ✔) ./gradlew clean

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.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 415ms
1 actionable task: 1 executed
/Volumes/SideProjects/FIRST/RunnymedeSwerve (main ✔) ./gradlew --warning-mode all

> Configure project :
The org.gradle.util.ConfigureUtil type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.8/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
        at build_d7v2vrmibs8i47a0rf606mguw$_run_closure8.doCall$original(/Volumes/SideProjects/FIRST/RunnymedeSwerve/build.gradle:95)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_d7v2vrmibs8i47a0rf606mguw.run(/Volumes/SideProjects/FIRST/RunnymedeSwerve/build.gradle:94)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The org.gradle.util.ConfigureUtil type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.8/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
        at build_d7v2vrmibs8i47a0rf606mguw$_run_closure8.doCall$original(/Volumes/SideProjects/FIRST/RunnymedeSwerve/build.gradle:100)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_d7v2vrmibs8i47a0rf606mguw.run(/Volumes/SideProjects/FIRST/RunnymedeSwerve/build.gradle:94)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The org.gradle.util.ConfigureUtil type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.8/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
        at build_d7v2vrmibs8i47a0rf606mguw$_run_closure8.doCall$original(/Volumes/SideProjects/FIRST/RunnymedeSwerve/build.gradle:104)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_d7v2vrmibs8i47a0rf606mguw.run(/Volumes/SideProjects/FIRST/RunnymedeSwerve/build.gradle:94)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The org.gradle.util.ConfigureUtil type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.8/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
        at build_d7v2vrmibs8i47a0rf606mguw$_run_closure8$_closure22.doCall$original(/Volumes/SideProjects/FIRST/RunnymedeSwerve/build.gradle:105)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_d7v2vrmibs8i47a0rf606mguw$_run_closure8.doCall$original(/Volumes/SideProjects/FIRST/RunnymedeSwerve/build.gradle:104)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The org.gradle.util.ConfigureUtil type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.8/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
        at build_d7v2vrmibs8i47a0rf606mguw$_run_closure8$_closure22$_closure23.doCall$original(/Volumes/SideProjects/FIRST/RunnymedeSwerve/build.gradle:106)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_d7v2vrmibs8i47a0rf606mguw$_run_closure8$_closure22.doCall$original(/Volumes/SideProjects/FIRST/RunnymedeSwerve/build.gradle:105)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
The org.gradle.api.plugins.JavaPluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.8/userguide/upgrading_version_8.html#java_convention_deprecation

> Task :help

Welcome to Gradle 8.8.

To run a build, run gradlew <task> ...

To see a list of available tasks, run gradlew tasks

To see more detail about a task, run gradlew help --task <task>

To see a list of command-line options, run gradlew --help

For more detail on using Gradle, see https://docs.gradle.org/8.8/userguide/command_line_interface.html

For troubleshooting, visit https://help.gradle.org

BUILD SUCCESSFUL in 469ms
1 actionable task: 1 executed
/Volumes/SideProjects/FIRST/RunnymedeSwerve (main ✔) 

Metadata

Metadata

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