Skip to content

Support Gradle 9 #1512

@Eng-Fouad

Description

@Eng-Fouad

Currently the gradle task listQuarkusDependencies is not compitable with Gradle 9.

10:42:31 PM: Executing 'listQuarkusDependencies -c C:\Users\fouad\IdeaProjects\fouad-backend\362567369308420759.gradle.kts -q --console plain'…

Unknown command-line option '-c'.

See this note regarding upgrading to Gradle 9: https://docs.gradle.org/current/userguide/upgrading_major_version_9.html#removal_of_custom_build_layout_options

Removal of custom build layout options
The ability to specify custom locations for key build files from the command line has been removed in Gradle 9.0.0. The following options, deprecated in Gradle 8.x, are no longer supported:

-c, --settings-file — Specify a custom location for the settings file

-b, --build-file — Specify a custom location for the build file

In addition, the buildFile property on the GradleBuild task has been removed. This means it is no longer possible to set a custom build file path via the GradleBuild task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions