unclebob / spacewar

Space War starting in Episode 55 of cleancoders.com
617 stars 60 forks source link

Missing org.clojure/math.combinatorics dependency in project.clj #3

Closed ifell closed 6 years ago

ifell commented 6 years ago

First of all, this is very cool and I can't wait to study the code and watch the episode.

But title basically says it all. Had to add the combinatorics dependency in order to pull up a repl edit: or creating an uberjar, so my friends and family can play :) Is anyone else experiencing the same issue?

  :dependencies [[org.clojure/clojure "1.9.0"]
                 [org.clojure/math.combinatorics "0.1.4"]
                 [org.clojure/test.check "0.10.0-alpha3"]
                 [quil "2.7.1"]]

edit2: Executing lein run and lein repl work fine for some reason, but when I execute lein uberjar, I get this error

Caused by: java.io.FileNotFoundException: Could not locate clojure/math/combinatorics__init.class or clojure/math/combinatorics.clj on classpath