Skip to content

Issue with compiler-interface in scripted tests #2165

@dwijnand

Description

@dwijnand

I was creating a scripted test, one that involves compiling some Scala, and I hit this:

sbt.InvalidComponent: Couldn't retrieve default sources: module 'compiler-interface'

It's probably related to the change in #2106.

The workaround, for now, is to add (as was done in #2106 for dependency-management/mvn-local):

resolvers += Resolver.file("old-local", file(sys.props("user.home") + "/.ivy2/local"))(Resolver.ivyStylePatterns)

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