You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bug happened! Seems to be a deprecated API in the latest version of Gradle + Java.
Environment
------------------------------------------------------------
Gradle 8.2.1
------------------------------------------------------------
Build time: 2023-07-10 12:12:35 UTC
Revision: a38ec64d3c4612da9083cc506a1ccb212afeecaa
Kotlin: 1.8.20
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 17.0.8 (Homebrew 17.0.8+0)
OS: Mac OS X 13.4.1 aarch64
Relevant log output
awatson@MM289218-PC synthea % gradle build
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/awatson/Code/space-health-simulator/synthea/build.gradle' line: 328
* What went wrong:
A problem occurred evaluating root project 'synthea'.
> Could not find method classifier() for arguments [sources] on task ':sourceJar' of type org.gradle.api.tasks.bundling.Jar.
* 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.2.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 4s
awatson@MM289218-PC synthea % --warning-mode all
zsh: command not found: --warning-mode
awatson@MM289218-PC synthea % gradle build --warning-mode all
> Configure project :
The Project.getConvention() method 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.2.1/userguide/upgrading_version_8.html#deprecated_access_to_conventions
at build_6x4bz7dddo8nuz6nkqhjika35.run(/Users/awatson/Code/space-health-simulator/synthea/build.gradle:19)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The org.gradle.api.plugins.Convention 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.2.1/userguide/upgrading_version_8.html#deprecated_access_to_conventions
at build_6x4bz7dddo8nuz6nkqhjika35.run(/Users/awatson/Code/space-health-simulator/synthea/build.gradle:19)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '/Users/awatson/Code/space-health-simulator/synthea/build.gradle': line 21
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.2.1/userguide/upgrading_version_8.html#java_convention_deprecation
at build_6x4bz7dddo8nuz6nkqhjika35.run(/Users/awatson/Code/space-health-simulator/synthea/build.gradle:21)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '/Users/awatson/Code/space-health-simulator/synthea/build.gradle': line 21
The org.gradle.api.plugins.Convention 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.2.1/userguide/upgrading_version_8.html#deprecated_access_to_conventions
at build_6x4bz7dddo8nuz6nkqhjika35.run(/Users/awatson/Code/space-health-simulator/synthea/build.gradle:21)
(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.2.1/userguide/upgrading_version_8.html#org_gradle_util_reports_deprecations
at build_6x4bz7dddo8nuz6nkqhjika35.run(/Users/awatson/Code/space-health-simulator/synthea/build.gradle:208)
(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.2.1/userguide/upgrading_version_8.html#java_convention_deprecation
at build_6x4bz7dddo8nuz6nkqhjika35.run(/Users/awatson/Code/space-health-simulator/synthea/build.gradle:208)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '/Users/awatson/Code/space-health-simulator/synthea/build.gradle': line 312
The org.gradle.api.plugins.ApplicationPluginConvention 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.2.1/userguide/upgrading_version_8.html#application_convention_deprecation
at build_6x4bz7dddo8nuz6nkqhjika35.run(/Users/awatson/Code/space-health-simulator/synthea/build.gradle:312)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '/Users/awatson/Code/space-health-simulator/synthea/build.gradle': line 312
The org.gradle.api.plugins.Convention 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.2.1/userguide/upgrading_version_8.html#deprecated_access_to_conventions
at build_6x4bz7dddo8nuz6nkqhjika35.run(/Users/awatson/Code/space-health-simulator/synthea/build.gradle:312)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/awatson/Code/space-health-simulator/synthea/build.gradle' line: 328
* What went wrong:
A problem occurred evaluating root project 'synthea'.
> Could not find method classifier() for arguments [sources] on task ':sourceJar' of type org.gradle.api.tasks.bundling.Jar.
* 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.
BUILD FAILED in 400ms
The text was updated successfully, but these errors were encountered:
What happened?
A bug happened! Seems to be a deprecated API in the latest version of Gradle + Java.
Environment
Relevant log output
The text was updated successfully, but these errors were encountered: