digital-asset / daml

The Daml smart contract language
https://www.digitalasset.com/developers
801 stars 203 forks source link

Multi IDE support for Gradle #19022

Open basvangijzel-DA opened 6 months ago

basvangijzel-DA commented 6 months ago

Support Gradle for multi-IDE in context of the quickstart blueprint.

Gradle must first build all dependencies of the base "build all dars" rule, then provide the daml build environment to the IDE (i.e. environment vars for paths to dar deps, any other user defined env vars)

samuel-williams-da commented 6 months ago

Struggling to find much here, it feels like we just need a gradle rule that can spin up the IDE, then change the VSCode extension to look for that and use it. Note that since the IDE works on a "root level multi-package.yaml" assumption, gradle can have issues, as there can be multiple disjoint multi-packages in a project. This may need some discussion with Carl

samuel-williams-da commented 4 months ago

https://docs.google.com/document/d/16uaRjXjLusRfsolSDpn6wm0LR0-p5Adu_4tL71Wqef4/edit

samuel-williams-da commented 3 weeks ago

If this gets pinged for while I'm gone, next steps are to try and get the gradle side to just be a rule. Some refactoring of the gradle side is needed to register only one rule, and register them top level so they can see all gradle modules