title: Gradle build failes getting an error checkstyleMain FAILED
body: <p>I recently upgraded my project.</p>
  
  <pre><code>   spring boot: 2.1.6 
     gradle: 4.10.2 
     java version 11
     jacoco : 0.8.1
     checkstyle: 8.1
  </code></pre>
  
  <p>My project build fails and getting the error:</p>
  
  <p>Task :checkstyleMain FAILED</p>
  
  <p>.gradle\daemon\4.10.2\etc\checkstyle\checkstyle-suppressions.xml (The system cannot find the path specified)</p>
  
  <p>Here is my gradle build file:</p>
  
  <pre><code>    jacoco {
         toolVersion = '0.8.1'
      }
  
      jacocoTestReport {
          afterEvaluate {
             classDirectories = files(classDirectories.files.collect {
                  fileTree(dir: it, exclude: [
                         'com/emp/contacts/domain', 
    'com/emp/MyApplication.class'
                 ])
             })
         }
     }
  
     checkstyle {
         toolVersion = '8.1'
         configFile = new File(rootDir, 'etc/checkstyle/checkstyle.xml')
         System.setProperty('checkstyle.cache.file', String.format('%s/%s', 
         buildDir, 'checkstyle.cachefile'))
     }
  </code></pre>
  
  <p>Here is my project structure:
  <a href="https://i.stack.imgur.com/7gDfk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7gDfk.png" alt="enter image description here"></a></p>