scalacenter/bloop

Invalid "sources" list generated for project with '-test' suffix.

pdziedzic-sumo opened this issue · 0 comments

Hi,

I have a multi-project setup, with some subproject names ending wiht '-test'. For all of those test subprojects bloop generates incomplete "sources" list in the {project}.json files - they contain the sources, but not the test sources directories, i.e.:

    "sources": [
        "{project_root}/src/main/scala",
        "{project_root}/build/avro/main/generated-sources",
        "{project_root}/src/main/java"
    ],

I'd expect the list to also contain "{project_root}/src/test/scala",

A secondary issue - the same list should ideally also
"{project_root}/build/avro/test/generated-sources" for avro generated test sources when applicable.

Not sure if it's related to an issue I reported a while ago: #1624.

Metals: 1.2.0
Bloop: 1.5.13

Thanks