title: plugin with id 'org.springframework.boot' not found
body: <p>I would like to include the spring boot plugin to my project using gradle 5.2.  Below is the current state of my build.gradle, followed by things I have tried to do.  Currently, I am trying to use gradle 5's <a href="https://gradle.org/whats-new/gradle-5/#fine-grained-transitive-dependency-management" rel="noreferrer">BOM support</a>, but this is not a hard requirement.  I just want to know how to solve the error</p>
  
  <blockquote>
    <p>plugin with id 'org.springframework/boot' not found</p>
  </blockquote>
  
  <p><strong>UPDATE:</strong> Updated the structure below to better represent my use case.</p>
  
  <p><strong>build.gradle</strong></p>
  
  <pre><code>apply from: 'boot.gradle'
  </code></pre>
  
  <p><strong>boot.gradle</strong></p>
  
  <pre><code>repositories {
      mavenCentral()
  }
  
  apply plugin: 'java'
  apply plugin: 'eclipse'
  apply plugin: 'org.springframework.boot'
  
  dependencies {
      implementation platform('org.springframework.boot:spring-boot-dependencies:2.0.0.RELEASE')
  
      implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '2.0.0.RELEASE'
      implementation group: 'org.springframework.boot', name: 'spring-boot-starter-tomcat', version: '2.0.0.RELEASE'
  
      implementation group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: '2.0.0.RELEASE'
  }
  </code></pre>
  
  <p>To recreate my error, you need only one more file in your project:</p>
  
  <p><strong>Application.java</strong></p>
  
  <pre><code>@SpringBootApplication
  public class Application {
  
      public static void main(String[] args) {
          SpringApplication.run(Application.class, args);
      }
  }
  </code></pre>
  
  <p>I have attempted to implement the solution found <a href="https://stackoverflow.com/a/26580254/4249424">here</a>, which is based on</p>
  
  <blockquote>
    <p>In external scripts (we call them script plugins), plugin IDs cannot
    be used. Instead, the fully qualified class name has to be used. This
    is a known bug.</p>
  </blockquote>
  
  <p>and <a href="https://stackoverflow.com/a/50182142/4249424">here</a> which isn't working for me, even if I upgrade to use spring 2.0.5.</p>
  
  <p>As well as various other similar solutions.</p>