Fork me on GitHub
#shadow-cljs
<
2023-01-13
>
John Gorski01:01:40

Hey all, would anyone know how to point shadow-cljs at a custom Maven Central endpoint? It https://github.com/thheller/shadow-cljs/commit/60d071ad968465ad69c2bef3ba64ff056ce09850#diff-98a9e994fbe4d455a070fa49c353effc038ec85f8647d32825e817e2f6004cc2R709 like it could be as easy as adding a config key to shadow-cljs.edn, but it doesn’t seem to be spelled out in the https://shadow-cljs.github.io/docs/UsersGuide.html.

thheller05:01:59

yeah, its the same config as in leiningen. :maven {:repositories {"foo" {:id "foo" :url ...}}}

🙌 2
thanks3 2
John Gorski22:01:23

Many many thanks, @U05224H0W. My local repository is not secured with TLS (it’s on a sandboxed build fleet), so cemeric.pomegranate.aether is rejecting it as both a Maven Central override and as a mirror. The https://github.com/technomancy/leiningen/blob/master/doc/FAQ.md has a “never-use” escape hatch for allowing non-TLS-protected repos/mirrors. Is this currently available via shadow-cljs?