Skip to content

Avoid UnusedTracker creation #479

@sormuras

Description

@sormuras

Even if a project using shadow doesn't configure minimizeJar=true, the UnusedTracker is instantiated. This is a) unneccessary and b) fails sometimes in multi-module projects. See #425 and related PRs: #477 and #478 (which both introduce new erros) for details on those failures.

So, what about not creating an instance of UnusedTracker at all when minimize is not requested?

The failures described in b) are not touched by this issue.

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