title: Could not find method lombok() for arguments
body: <p>Just wanted to include the lombok plugin with my gradle build but get the error message from the title. My build.gradle looks like this:</p>
  
  <pre><code>...
  plugins {
      id 'net.ltgt.apt' version '0.10'
  }
  ext {
      lombok_version="1.16.18"
  }
  lombok {
      version = ${lombok_version}
      sha256 = ""
  }
  ...
  dependencies {
      ...    
      compileOnly "org.projectlombok:lombok:${lombok_version}"
      apt "org.projectlombok:lombok:${lombok_version}"
      ...
  }
  </code></pre>
  
  <p>Source: <a href="https://projectlombok.org/setup/gradle" rel="noreferrer">https://projectlombok.org/setup/gradle</a></p>
  
  <p>Any ideas what's wrong here? If I remove the lombok {...} part everything works fine.</p>