Skip to content

clojurescript always get dragged in #105

@kxygk

Description

@kxygk

Even if you run on the JVM, the deps are structured to pull in clojurescript (and cljs-log/cljs-log). I think this is a mistake?

It can be forceably excluded in the deps edn by adding an "exclusion".
Here is what mine looks like:

             thi.ng/geom                          {:mvn/version "1.0.1"
                                                   :exclusions [org.clojure/clojurescript
                                                                org.jogamp.jogl/jogl-all
                                                                org.jogamp.gluegen/gluegen-rt]}

(this reduce the final uberjar and jpackage size by a LOT)

ideally this shouldn't be necessary, but I don't know how to have platform-dependent dependencies in deps.edn

See the -Stree :

thi.ng/geom 1.0.1
  . thi.ng/color 1.5.1
    X org.clojure/clojurescript 1.11.121 :excluded
    . thi.ng/math 0.3.2
    . thi.ng/dstruct 0.2.2
    . thi.ng/typedarrays 0.1.7
    . thi.ng/strf 0.2.4
    . thi.ng/xerror 0.1.0
  . thi.ng/dstruct 0.2.2
    X org.clojure/clojurescript 1.11.4 :excluded
    X thi.ng/math 0.3.1 :older-version
    . thi.ng/xerror 0.1.0
  . thi.ng/math 0.3.2
    X org.clojure/clojurescript 1.11.121 :excluded
    . thi.ng/typedarrays 0.1.7
  . thi.ng/ndarray 0.3.3
    X org.clojure/clojurescript 1.11.4 :excluded
    . thi.ng/typedarrays 0.1.7
    X thi.ng/math 0.3.1 :older-version
  . thi.ng/shadergraph 0.3.1
    X org.clojure/clojurescript 1.11.4 :excluded
    . com.postspectacular/dependency 0.1.2
  . thi.ng/strf 0.2.4
    X org.clojure/clojurescript 1.11.121 :excluded
  . thi.ng/typedarrays 0.1.7
    X org.clojure/clojurescript 1.11.4 :excluded
  . thi.ng/xerror 0.1.0
    X org.clojure/clojurescript 1.7.48 :excluded
  . org.jogamp.gluegen/gluegen-rt 2.3.2
  . cljs-log/cljs-log 0.2.2
    . environ/environ 1.0.0
  . hiccup/hiccup 1.0.5

(furthermore dependency version are different.. I'm guessing hence why it seems the :excluded tag shows up. Normally exclusions aren't even displayed in the tree)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions