Skip to content

Only set mimaPreviousArtifacts when not set by other plugins #138

@bjaglin

Description

@bjaglin

Found via scalacenter/scalafix#1673.

When mimaPreviousArtifacts is already set by another plugin that happens to run before SbtVersionPolicyPlugin, the value gets overriden (in the case of Scalafix, mimaPreviousArtifacts is set to compare module_2.13.$n against module_2.13.${n-1} through a local plugin for example).

Suggestion: when the value is already set (non-empty), do not provide a default.

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