"compile" here should be defaulted to "runtime" instead, and this should be a configurable parameter on the task.  The goal of this task is to list the dependencies of the libraries that we are shipping, and so runtime here makes more sense.