tools-deps

janezj 2024-04-15T13:08:21.046419Z

I have a problem, that closure-compiler-unshaded-v20210808.jar containds some older classes as protobuf-java (com/google/protobuf/GeneratedMessageV3.class). Is there some way to add protobuf-java tree of deps last and override stuff in closure-compiler? or mark closure-compiler as fatjar? Is this kind of patching completely a dead end?

Alex Miller (Clojure team) 2024-04-15T13:11:21.687619Z

there isn't any kind of facility like that

2024-04-15T15:28:55.699049Z

The closure compiler seems an odd thing to have a runtime dependency on

janezj 2024-04-15T19:12:44.892419Z

fulcro deps on cljs/analyzer

2024-04-15T19:41:58.983879Z

Seems like it only pulls it in for a function for reporting errors, very unfortunate

➕ 1
thheller 2024-04-16T05:45:41.691659Z

upgrade the cljs/closure-compiler version

thheller 2024-04-16T05:45:52.606409Z

the latest version isnt "fat" anymore. it still includes some random deps, but it is mostly clean

janezj 2024-04-18T12:57:07.460609Z

I found it too, it works now. https://clojurians.slack.com/archives/C68M60S4F/p1713183366140409 The shaded /unshaded jars are new to me.