title: How do I fix "Execution failed for task 'compileJava'" error. (Using Intellij Idea and Gradle)
body: <p>Ok, I am coding a Discord Bot with JDA in Intellij Idea and I am using botCommons for Embeds. Using Gradle and Having imported the botCommons jar file. That was successful. However. I have attempted to start up the bot and had this issue in the console:</p>
  
  <pre><code>Execution failed for task ':compileJava'.
  &gt; Could not resolve all files for configuration ':compileClasspath'.
     &gt; Could not find com.afollestad:ason:1.4.16.
       Searched in the following locations:
         - https://jcenter.bintray.com/com/afollestad/ason/1.4.16/ason-1.4.16.pom
         - https://jcenter.bintray.com/com/afollestad/ason/1.4.16/ason-1.4.16.jar
         - https://repo.maven.apache.org/maven2/com/afollestad/ason/1.4.16/ason-1.4.16.pom
         - https://repo.maven.apache.org/maven2/com/afollestad/ason/1.4.16/ason-1.4.16.jar
         - https://jitpack.io/com/afollestad/ason/1.4.16/ason-1.4.16.pom
         - https://jitpack.io/com/afollestad/ason/1.4.16/ason-1.4.16.jar
       Required by:
           project :
           project : &gt; com.github.duncte123:botCommons:fbb8f98
  </code></pre>
  
  <p>I have my build.gradle file: </p>
  
  <pre><code>plugins {
      id'java'
      id'application'
      id'com.github.johnrengelman.shadow' version '2.0.4'
  }
  
  mainClassName = 'me.ntmnathan.RoryMercury.Main'
  
  version '1.0'
  
  sourceCompatibility = 1.8
  
  repositories {
      jcenter()
      mavenCentral()
  
      maven { url 'https://jitpack.io' }
  }
  
  dependencies {
      compile group: 'net.dv8tion', name: 'JDA', version: '3.8.0_434'
      compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
      compile group: 'com.github.duncte123', name: 'botCommons', version: 'fbb8f98'
      compile group: 'com.afollestad', name: 'ason', version: '1.4.16'
  
  }
  
  compileJava.options.encoding = 'UTF-8'
  </code></pre>
  
  <p>Sorry, I am kinda new to Java Discord Bot Development but any help would be appreciated.</p>