title: Gradle deprecated annotation processor warnings for lombok
body: <p>After upgrading to gradle 4.7, my previously warning-free build now emits this warning:</p>
  
  <blockquote>
    <p>The following annotation processors were detected on the compile classpath: 'lombok.launch.AnnotationProcessorHider$AnnotationProcessor' and 'lombok.launch.AnnotationProcessorHider$ClaimingProcessor'. <strong>Detecting annotation processors on the compile classpath is deprecated and Gradle 5.0 will ignore them</strong>. Please add them to the annotation processor path instead. If you did not intend to use annotation processors, you can use the '-proc:none' compiler argument to ignore them.</p>
  </blockquote>
  
  <p>It seems that annotation processors are deprecated and gradle version 5.0 will not support annotation processors.</p>
  
  <p>My project uses lombok, which requries annotation processors, so using <code>-proc:none</code> is not an option. Neither is stopping using Gradle when verison 5.0 is released.</p>
  
  <p>How do I:</p>
  
  <ul>
  <li>stop the warnings, and </li>
  <li>ensure my project will continue to build with future Gradle releases?</li>
  </ul>