Skip to content

Avoid using Task.project at task execution time #273

@abstratt

Description

@abstratt

Accessing Task.project at execution time is being deprecated in Gradle 8.12, and will be forbidden in a future Gradle release.

def dependencyLockExtension = project.extensions.findByType(DependencyLockExtension)

See: gradle/gradle#30860

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