Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send dependency modules data as MavenDependencyModule #3148

Open
kasiaMarek opened this issue May 7, 2024 · 0 comments
Open

Send dependency modules data as MavenDependencyModule #3148

kasiaMarek opened this issue May 7, 2024 · 0 comments

Comments

@kasiaMarek
Copy link

Currently mill sends only very limited information about dependency modules:

{
   "name": "org.scala-lang:scala3-library_3",
   "version": "3.3.3"
}

In Metals that information will be used to create information on used libraries for debug adapter (scalameta/metals#6383). For it to work properly with mill, mill should send data in MavenDependencyModule form with jar and sources jar artifacts.

{
    "name": "scala3-library_3",
     "version": "3.3.3",
      "dataKind": "maven",
       "data": {
          "organization": "org.scala-lang",
          "name": "scala3-library_3",
          "version": "3.3.3",
          "artifacts": [
            {
              "uri": "file://.../scala3-library_3-3.3.3.jar"
            },
            {
              "uri": "file:///.../scala3-library_3/3.3.3/scala3-library_3-3.3.3-sources.jar",
              "classifier": "sources"
            }
          ]
      }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant