google / clojure-turtle

A Clojure library that implements the Logo programming language in a Clojure context
Apache License 2.0
425 stars 41 forks source link

Doesn't work with deps.edn/clj toolchain? #35

Open metasoarous opened 4 years ago

metasoarous commented 4 years ago

Having trouble getting it to work with the official clj/clojure CLI.

% clj -Sdeps '{:deps {com.google/clojure-turtle {:mvn/version "0.3.0"}}}'                                                                                                                                                            20-04-10 - 16:43:22
Downloading: com/google/clojure-turtle/0.3.0/clojure-turtle-0.3.0.pom from clojars
Downloading: quil/quil/2.2.6/quil-2.2.6.pom from clojars
Downloading: quil/processing-core/2.2.1/processing-core-2.2.1.pom from clojars
Downloading: quil/processing-dxf/2.2.1/processing-dxf-2.2.1.pom from clojars
Downloading: quil/processing-pdf/2.2.1/processing-pdf-2.2.1.pom from clojars
Downloading: quil/jogl-all-fat/2.1.5/jogl-all-fat-2.1.5.pom from clojars
Downloading: quil/processing-js/1.4.8.2/processing-js-1.4.8.2.pom from clojars
Downloading: quil/gluegen-rt-fat/2.1.5/gluegen-rt-fat-2.1.5.pom from clojars
Downloading: quil/processing-dxf/2.2.1/processing-dxf-2.2.1.jar from clojars
Downloading: quil/gluegen-rt-fat/2.1.5/gluegen-rt-fat-2.1.5.jar from clojars
Downloading: quil/processing-js/1.4.8.2/processing-js-1.4.8.2.jar from clojars
Downloading: quil/jogl-all-fat/2.1.5/jogl-all-fat-2.1.5.jar from clojars
Downloading: com/google/clojure-turtle/0.3.0/clojure-turtle-0.3.0.jar from clojars
Downloading: quil/processing-pdf/2.2.1/processing-pdf-2.2.1.jar from clojars
Downloading: quil/processing-core/2.2.1/processing-core-2.2.1.jar from clojars
Downloading: quil/quil/2.2.6/quil-2.2.6.jar from clojars
Error building classpath. Could not find artifact bouncycastle:bctsp-jdk14:jar:138 in central (https://repo1.maven.org/maven2/)
metasoarous commented 3 years ago

Figured out how to get around this

clj -Sdeps '{:deps {com.google/clojure-turtle {:mvn/version "0.3.0" :exclusions [bouncycastle/bctsp-jdk14]} org.bouncycastle/bctsp-jdk14 {:mvn/version "1.38"}}}'

Some context here: https://github.com/incanter/incanter/issues/388

It should be possible to add a similar exclusion to the project.clj to fix this, to whatever project is requiring bctsp. Then clj -Sdeps '{:deps {com.google/clojure-turtle {:mvn/version "0.3.X"}}}' should work.