Skip to content

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

@purejosh

Description

@purejosh

After running datagen, I get the following error:

[21:29:34] [Render thread/INFO] (Minecraft) Caching: total files: 243, old count: 243, new count: 244, removed stale: 0, written: 0

[Incubating] Problems report is available at: file:///C:/Users/purejosh/IntelliJ/Projects/pureberries/build/reports/problems/problems-report.html

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

BUILD SUCCESSFUL in 11s
5 actionable tasks: 2 executed, 3 up-to-date
9:29:34 PM: Execution finished ':net.fabricmc.devlaunchinjector.Main.main()'.

Checking the problems-report.html, I see the following:

Learn more about [reporting problems](https://docs.gradle.org/8.12.1/userguide/problems-report.html).
Problems Report
1 problems have been reported during the execution of build `pureberries` for the following tasks:`:net.fabricmc.devlaunchinjector.Main.main()`
Messages (1)
Group (1)
Locations (1)
- `initialization script 'C:\Users\purejosh\AppData\Local\Temp\net_fabricmc_devlaunchinjector_Main_main__10.gradle'`
    - [warn]  Invocation of Task.project at execution time has been deprecated.`:151`
    - [warn]  Invocation of Task.project at execution time has been deprecated.`:151`
- `:net.fabricmc.devlaunchinjector.Main.main()`
    - [warn]  Invocation of Task.project at execution time has been deprecated.`:net.fabricmc.devlaunchinjector.Main.main()`

While this is a simple deprecation warning, can the Fabric team please resolve this deprecation conflict, so the warning isn't present?

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