Skip to content

Support dependency sources from a directory, not a JAR #2649

@dccorona

Description

@dccorona

I am trying to integrate bloop support for a build system that supports a non-Maven package manager, which fetches sources as a directory rather than a sources JAR. It would be great if bloop could support directories in the resolution array, like so:

{
  "project": {
    "resolution": {
      "modules": [
        {
          "organization": "org",
          "name": "name",
          "version": "ver",
          "configurations": "default",
          "artifacts": [
            {
              "name": "name",
              "classifier": "sources",
              "path": "/path/to/sources/dir"
            }
          ]
        }
      ]
    }
  }
}

I did try quickly adding this support by modifying frontend/src/main/scala/bloop/dap/BloopDebuggee.scala, but it seems that just changing that file is not enough on its own. I will keep trying, but wanted to file the issue in case anyone else has any thoughts about this feature in the meantime.

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