Skip to content
This repository was archived by the owner on May 22, 2022. It is now read-only.
This repository was archived by the owner on May 22, 2022. It is now read-only.

Using compile scope makes dependencyOverrides have no effect #34

@dmitchellmim

Description

@dmitchellmim

Starting in 0.6.2 (#30), this plugin's lock file scopes the dependencyOverrides under Compile. However, sbt seems to ignore these scoped overrides, even under the Compile scope. Here is a sample Play project where I reproduced the issue. Using show update according to sbt documentation, I can verify that sbt does not choose the overridden version. As a result, the lock file doesn't actually lock the version—the application uses the wrong version when running. Downgrading to 0.6.1 fixes the problem. Is it possible to set the overrides properly while still supporting the use case in #30?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions