Coursier API - almond bootstrap? #2479
-
I've gotten myself in over my head trying to look at this; I've been reading the docs for bootstrapping / installing almond, all of which go through the coursier CLI. If I wished to bootstrap and install and almond instead through the coursier API, for example in the context of metals, is that possible? And if so, a hint at the starting point? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you wish to create an Almond launcher from the API, the ammonite-runner code base should be a good example. This section in particular. It shows how to create a launcher with some shared dependency put in a first class loader by the launcher, and remaining dependencies put in a second class loader, as the installation instructions of Almond do via this app descriptor. |
Beta Was this translation helpful? Give feedback.
If you wish to create an Almond launcher from the API, the ammonite-runner code base should be a good example. This section in particular. It shows how to create a launcher with some shared dependency put in a first class loader by the launcher, and remaining dependencies put in a second class loader, as the installation instructions of Almond do via this app descriptor.