title: How do I uninstall a Chocolatey package and all its dependencies?
body: <p>Reading the documentation, it appears that I should be able to install package and its dependencies with the <code>-x</code> flag.  But when I try to uninstall the javaruntime package with the command <code>choco uninstall javaruntime -x</code>, it fails because of dependencies.</p>
  
  <p>It gives me this error:</p>
  
  <pre><code>&gt;  choco uninstall javaruntime -x
  Chocolatey v0.10.1
  Uninstalling the following packages:
  javaruntime
  javaruntime not uninstalled. An error occurred during uninstall:
   Unable to uninstall 'javaruntime 8.0.101' because 'groovy 2.3.6' depends on it.
  
  Chocolatey uninstalled 0/1 packages. 1 packages failed.
   See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
  
  Failures
   - javaruntime (exited 1) - javaruntime not uninstalled. An error occurred during uninstall:
   Unable to uninstall 'javaruntime 8.0.101' because 'groovy 2.3.6' depends on it.
  </code></pre>
  
  <p>Am I doing something wrong?</p>