   ;; can't mapcat here since :checkout-deps-shares points to vectors and strings
   (flatten (map #(% dep-project) (:checkout-deps-shares project))))
 
+(defn- get-project-dependencies
+  "Wrapper for leiningen.core.classpath/get-dependencies
+   that handles the API change between lein 2.6 and 2.7"
+  [project]
+  (if (lcm/version-satisfies? (lcm/leiningen-version) "2.7.0")
+    (lcp/get-dependencies :dependencies nil project)
+    (lcp/get-dependencies :dependencies project)))
+
 (defn checkout-deps-paths
   "Checkout dependencies are used to place source for a dependency
   project directly on the classpath rather than having to install the

(ns lein-voom.plugin
  (:require [leiningen.core.classpath :as lcp]
            [leiningen.voom :as voom]
            [robert.hooke :as hooke])
  (:import [java.io File]))

  (->
   (when-let [f  (voom/find-box)]
     (apply concat
            (for [[d & _] (keys (get-project-dependencies project))
                  :let [dep-name (str (or (namespace d) (name d)) "--" (name d))
                        proj-path (voom/adj-path f dep-name "project.clj")]
                  :when (.isFile proj-path)
