We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b197446 commit c177de0Copy full SHA for c177de0
src/refactor_nrepl/artifacts.clj
@@ -10,6 +10,7 @@
10
[refactor-nrepl.ns.slam.hound.regrow :as slamhound-regrow]
11
[version-clj.core :as versions])
12
(:import java.util.Date
13
+ java.util.zip.GZIPInputStream
14
java.util.jar.JarFile))
15
16
;; structure here is {"prismatic/schem" ["0.1.1" "0.2.0" ...]}
@@ -39,12 +40,15 @@
39
40
;; Ignore artifact if not readable. See #255
41
nil)))
42
43
+(def stuff 33)
44
+
45
(defn get-clojars-artifacts!
46
"Returns a vector of [[some/lib \"0.1\"]...]."
47
[]
48
(try
- (->> "https://clojars.org/repo/all-jars.clj"
- java.net.URL.
49
+ (->> "https://clojars.org/repo/all-jars.clj.gz"
50
+ io/input-stream
51
+ GZIPInputStream.
52
io/reader
53
line-seq
54
(keep edn-read-or-nil))
0 commit comments