title: SBT Plugin: Propagate Compiler Plugin and Enable Plugin downstream
body: <p>I saw <a href="https://stackoverflow.com/questions/43757369/sbt-plugin-how-to-add-compiler-plugin-as-a-dependency-that-is-not-propagated-do">SBT Plugin: How to add compiler plugin as a dependency that is not propagated downstream?</a> but this does not answer my question.</p>
  
  <p>Here is the structure:</p>
  
  <pre><code>other plugins
      |-----&gt; added to my own plugin
                  |-----&gt; Consumer project
  </code></pre>
  
  <p>the <code>consumer project</code> needs to add <code>addCompilerPlugin</code> and <code>enablePlugins</code> in their own <code>build.sbt</code> because of the <code>other plugins</code>. </p>
  
  <p>I have the <code>other plugins</code> added in the <code>build.sbt</code> of <code>my own plugin</code>. </p>
  
  <p>Where do I put <code>addCompilerPlugin</code> and <code>enablePlugins</code> in my plugin so the <code>consumer project</code> do not have to do it themselves?</p>
  
  <p>Thanks</p>