title: Quartz not working in Grails4, Issue in dependency not able to compile
body: <p>Getting error in Scheduler Dependency i'm using grails4 :
  Anyone let me know correct dependency for scheduler </p>
  
  <pre><code>dependencies {
  compile "org.grails.plugins:quartz:2.0.1"
  </code></pre>
  
  <p>}</p>
  
  <p>and also tried this:</p>
  
  <pre><code>dependencies {
  compile "com.agileorbit:schwartz:1.0.1"
  </code></pre>
  
  <p>}</p>
  
  <p>Both are not able to compile: </p>
  
  <blockquote>
    <p>grails run-app
    | Resolving Dependencies. Please wait...</p>
  </blockquote>
  
  <p>| Running application...</p>
  
  <p>FAILURE: Build failed with an exception.</p>
  
  <ul>
  <li><p>What went wrong:
  Execution failed for task ':compileGroovy'.</p>
  
  <blockquote>
    <p>org/quartz/JobExecutionContext</p>
  </blockquote></li>
  <li><p>Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.</p></li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a></p></li>
  </ul>
  
  <p>BUILD FAILED in 10s
  | Error Failed to start server (Use --stacktrace to see the full trace)</p>