This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-04
Channels
- # aleph (10)
- # announcements (2)
- # babashka (2)
- # beginners (101)
- # calva (17)
- # cider (11)
- # clara (6)
- # clj-kondo (25)
- # cljsrn (33)
- # clojure (181)
- # clojure-dev (15)
- # clojure-europe (3)
- # clojure-italy (4)
- # clojure-nl (8)
- # clojure-uk (22)
- # clojurescript (111)
- # clojutre (58)
- # cursive (31)
- # data-science (1)
- # datomic (10)
- # emacs (6)
- # ethereum (1)
- # fulcro (20)
- # graalvm (3)
- # jackdaw (5)
- # leiningen (5)
- # off-topic (31)
- # re-frame (2)
- # reitit (10)
- # shadow-cljs (9)
- # spacemacs (16)
- # sql (8)
- # tools-deps (16)
- # vim (17)
The alternative in this case is creating impl classes, and I'm not sure if that's better or worse. It's unclear whether that's a stable api to me, because the artefact is named impl too
So the repro is this:
;; deps.edn
{:paths ["src"]
:deps
{org.clojure/tools.deps.alpha {:mvn/version "0.7.541"}
metasoarous/oz {:mvn/version "1.6.0-alpha5"}}}
;; src/io/dominic/tda_npe/core.clj
(ns io.dominic.tda-npe.core
(:require
[clojure.tools.deps.alpha :as tools.deps]))
(def deps-map
'{:paths ["src"]
:deps {org.clojure/clojure #:mvn{:version "1.9.0"} }
:mvn/repos {"central" {:url " "}
"clojars" {:url " "}}})
(defn -main
[& _]
(tools.deps/resolve-deps deps-map {}))
clojure -Spath | while IFS= read -rd: line; do
if [ -f "${line}" ]; then
jar tf "${line}" | while read -r file; do echo "${line}: ${file}"; done
fi
done | sort -k2 | uniq -f1 --all-repeated=separate
Here's a script for finding duplicates on the classpath 🙂metasoarous/oz {:mvn/version "1.6.0-alpha5"
:exclusions [org.apache.maven/maven-aether-provider]}
This fixes it (haven't tested oz). Looks like there's 2 sources for the default impl of VersionResolver!It's coming transitively from pomegranate, so I think you can't have pomegranate and t.d.a on the classpath together without this exception.
https://github.com/marketplace/actions/setup-clojure I wrote github action to setup hosted runner with clojure cli.

you are welcome to open an issue if something isn’t working as expected)
Integrated it into cljfx, works great! https://github.com/cljfx/cljfx/blob/master/.github/workflows/test.yml
also published action for provision graalvm instead of java - https://github.com/marketplace/actions/setup-graalvm-environment
Adding this to next.jdbc
to matrix test on Java 8 and Java 11. Thank you!
Wow, it takes a long time for those jobs to get started! 21 minutes for the first one. Still waiting for the second one in the matrix.
29 minutes end-to-end. It'll be interesting to see how they tune that during the beta. CircleCI started almost immediately (and completed in 30 seconds, compared to an actual run time of about a minute on GitHub).
Maybe it was just because this was the first time I've used it? I'll report back on subsequent runs.
Just pushed another commit and, yeah, it started up nearly immediately.