diff --git a/quark/backend.py b/quark/backend.py
index <HASH>..<HASH> 100644
--- a/quark/backend.py
+++ b/quark/backend.py
@@ -46,7 +46,8 @@ class Backend(object):
         self.dist = du
 
     def visit_Dependency(self, dep):
-        self.dependencies["%s:%s.%s-%s" % (dep.lang, dep.group, dep.artifact, dep.version)] = dep
+        if dep.file.depth == 0:
+            self.dependencies["%s:%s.%s-%s" % (dep.lang, dep.group, dep.artifact, dep.version)] = dep
 
     def visit_Use(self, use):
         name, ver = namever(use.target)
Don't emit your dependencies' dependencies as your own