Skip to content

Fix deprecation warnings due to tasks calling getProject() at execution time #32980

@wilkinsona

Description

@wilkinsona

Some of our custom tasks (org.springframework.boot.build.autoconfigure.AutoConfigurationMetadata is one) call getProject() at execution time. This results in a deprecation warning and means that our build will break with Gradle 9.0. While we won't be able to fix all such warnings in our build as some come from third-party plugins, we should update our own tasks.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions