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

Split artifacts into a bsp4j.protocol and a bsp4j.server #668

Open
lefou opened this issue May 21, 2024 · 2 comments
Open

Split artifacts into a bsp4j.protocol and a bsp4j.server #668

lefou opened this issue May 21, 2024 · 2 comments

Comments

@lefou
Copy link
Contributor

lefou commented May 21, 2024

This is the outcome of discussion #651.

the bsp4j artifact currently contains lots of heavyweight transitive dependencies. This makes it unsuitable to be used by foreign APIs, e.g. in build tool plugins to provide additional BSP suport. For example a mill-rust plugin.

What's needed is a bsp4j.protocol artifact without any heavyweight transitive dependencies, which can be easily used in various build tools plugins.

Therefore, we should split the current bsp4j artifact into a leightweight bsp4j.protocol and a bsp4j.server, which may contain whatever transitive dependency is needed to launch a BSP server.

@lefou lefou changed the title Split artifacts into a bsp4j.api and a bsp4j.server Split artifacts into a bsp4j.protocol and a bsp4j.server May 23, 2024
@lefou
Copy link
Contributor Author

lefou commented May 23, 2024

This is also an opportunity, to have each BSP extension in it's own namespace (Java package), e.g. ch.epfl.scala.bsp4j.protocol.{base,jvm,java,scala,sbt,rust,...}.

@lefou
Copy link
Contributor Author

lefou commented Jun 15, 2024

Bump

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