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

Eclipse buildship <-> BSP Integration : Delegate to BSP to execute tasks #1309

Open
Sidhaarthsr opened this issue Jul 5, 2024 · 2 comments

Comments

@Sidhaarthsr
Copy link

  • Currently buildship directly communicates with the Gradle Daemon. So we need to include the necessary dependencies to integrate with Gradle BSP to run all Gradle Ops.
  • Delegate to BSP to execute tasks.

Expected Behavior

  • We'll be able to reference all the classes in BSP Gradle repository from buildship
  • Buildship will start using BSP functionalities to orchestrate BSP related tasks instead of directly communicating with the Gradle Daemon.

Context

  • BSP integration reduces code complexity of buildship since all existing Gradle code will be removed
  • Gradle Task executions in Gradle will completely be orchestrated through BSP Gradle.
@oleosterhagen
Copy link
Contributor

It would be helpful to have a setting to choose between the traditional Buildship implementation and the new Gradle Buildserver integration for some time - as in VSCode (java.gradle.buildServer.enabled=on/off).

Users of Eclipse Buildship need some time to update their Eclipse installation and to check the compatibility of their projects with the BSP implementation.

@Sidhaarthsr
Copy link
Author

Hi @oleosterhagen, Thanks for pointing that out. That's the plan for current implementation. We'll have the option to toggle between legacy and Build Server modes with a flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants