title: Is it possible to selectively set modules for components in Dagger 2?
body: <p><code>Caused by: java.lang.IllegalStateException: analyticsModule must be set</code></p>
  
  <p>I'm building a library that uses template-style initialization. The user can selectively setup modules for the project with that library. It uses Dagger 2 for DI.</p>
  
  <p>But Dagger 2 doesn't seem to allow optional modules. Can't unset modules be simply ignored?</p>