title: Cannot find Plugin [id: 'com.github.johnrengelman.shadow', version: '5.2.0']
body: <p>I'm currently trying to create a simple discord bot. I finished the code and I'm trying to export it through shadow--> shadowJar. I keep getting this error message:</p>
  
  <p>Plugin [id: 'com.github.johnrengelman.shadow', version: '5.2.0'] was not found in any of the following sources:</p>
  
  <ul>
  <li>Gradle Core Plugins (plugin is not in 'org.gradle' namespace)</li>
  <li>Plugin Repositories (could not resolve plugin artifact 'com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:5.2.0')
  Searched in the following repositories:
  Gradle Central Plugin Repository</li>
  </ul>
  
  <p>I've tried to look up how to fix this, being pretty unsuccessful. I'm very new to this, only having experience with simple Java, like multi-dimensional arrays, classes, objects, etc.</p>
  
  <p>Please help!</p>
  
  <p>Here's my build.gradle:</p>
  
  <pre><code>plugins {
      id 'java'
      id 'application'
      id "com.github.johnrengelman.shadow" version "5.2.0"
  }
  
  mainClassName = "Main"
  
  group 'com.mywebsite'
  version '1.0-SNAPSHOT'
  
  
  
  sourceCompatibility = 1.8
  
  repositories {
      mavenCentral()
      jcenter()
  }
  
  dependencies {
      compile 'net.dv8tion:JDA:3.5.0_329'
  }
  </code></pre>
  
  <hr>