Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The LenientConfiguration.getFirstLevelModuleDependencies(Spec) method has been deprecated and will be removed in Gradle 9.0 #912

Open
itkhanz opened this issue Nov 24, 2024 · 1 comment

Comments

@itkhanz
Copy link

itkhanz commented Nov 24, 2024

I am on Gradle version 8.11.1

Steps to Reproduce:
Execute command gradle dependencyUpdates -Drevision=release

Deprecation warning:
Gradle shows following deprecation warning:-

[warn] The LenientConfiguration.getFirstLevelModuleDependencies(Spec) method has been deprecated.
This is scheduled to be removed in Gradle 9.0.
- Solutions
[enum] Use getFirstLevelModuleDependencies() instead.
- The LenientConfiguration.getFirstLevelModuleDependencies(Spec) method has been deprecated.the-lenientconfiguration-getfirstlevelmoduledependencies-spec-method-has-been-deprecated
- Consult the upgrading guide for further information: https://docs.gradle.org/8.11/userguide/upgrading_version_8.html#deprecate_filtered_configuration_file_and_filecollection_methods

@ben-manes
Copy link
Owner

That’s fixed on master, but might not be released yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants