Skip to content

itTest/update does not get invalidated, if a/compile is issued on its own #8357

@OlegYch

Description

@OlegYch

steps

Using sbt 1.11.7 (and way earlier)
Compile a project
Change a library version
Reload
Compile project again

problem

Classpath is not updated

expectation

Old library version is removed, new one is added

notes

If i go to coursier cache and delete old libs, and then compile - the problem goes away
there are some suspicious logs, mentioning the deleted library:

> show itTests/Test/fullClasspath
[warn] spec_3-0.9.5.jar no longer exists at C:\Users\user\AppData\Local\Coursier\Cache\v1\http\test.com\repo\sample\spec_3\0.9.5\spec_3-0.9.5.jar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions