Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
metasoarous opened this issue Apr 10, 2020 · 1 comment
Open

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

metasoarous opened this issue Apr 10, 2020 · 1 comment

Comments

@metasoarous
Copy link

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
Copy link
Author

metasoarous commented Nov 26, 2020

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: incanter/incanter#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant