Open cmelchior opened 4 weeks ago
Approach (1) should already work. Order of repositories doesn't matter until you publish the same version to 2 different repos with different content (which is shooting in your own knee)
Approach (2) seems to be not needed unless we already have @Repository annotation
See https://kotlinlang.slack.com/archives/C05333T208Y/p1724308760303349
Sometimes, you want to combine the ease of use with e.g
%use kandy
, but pull artifacts from a private repository.For custom libraries, people can define their own library definition, but this gets clunky for 3rd party libraries.
Off the top of my head, I see two options, but it probably requires a bit of thought. Especially around which order repositories should be checked.
Possible API's:
Take into account
USE
if it was defined in a previous cell, e.g.:Introduce a new line magic that does it: