title: How to exclude resolved plugin in Gradle 5.x with a custom one?
body: <p>For Gradle 5.x,</p>
  
  <p>Can a plugin that is resolved in a transitive dependency of a plugin be excluded (same way 'exclude' works in gradle for dependennt code libraries) and a custom plugin be supplied in place of that ?</p>
  
  <p>I am able to supply my own custom plugin via following code :</p>
  
  <pre><code>    buildscript {
      dependencies {
          classpath files('/home/developer/Workspace/custom-gradle-plugin-0.3.6.jar')
      }
     }
  
  apply plugin: com.custom.gradle.plugins.CustomSupportPlugin
  </code></pre>
  
  <p>But this is not able to override the plugin that is being resolved via transitive plugin resolution.</p>