title: How to enforce gradle plugins applying order?
body: <p>In our company we wrote custom gradle plugin which is doing some stuff when application plugin is present. But when application plugin is included in build.gradle after our plugin, our plugin doesn't discover application plugin and actions are not executed.</p>
  
  <p>Is there any way in gradle to enforce plugin applying order? Or any other solution?</p>
  
  <p>Small excerpt from our plugin:</p>
  
  <pre><code>void apply(Project project) {
          if (project.plugins.hasPlugin(ApplicationPlugin) {
               //some stuff, doesn't work if "application" appears after this plugin
          }
  }
  </code></pre>