Skip to content

:init is potentially ran multiple times #1179

@borkdude

Description

@borkdude

When tasks contain run invocations, the :init block is executed again.

A workaround for now is to put your init code in a file on the classpath and then use :requires, where you require / load that file. Since that is idempotent, the code will only run once.

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