title: Lombok causing MapStruct compileJava build failure after upgrading to Gradle 5.0
body: <p>We are trying to upgrade from Gradle 4.5 to 5.0. After upgrade, compileJava is failing because Mapstruct is not able to resolve values (getters not available obviously) used in @Mapping annotation. This was working fine in Gradle 4.5 .</p>
  <p>The code is like this</p>
  <pre><code>@Mapper(componentModel = &quot;spring&quot;)
  public interface CAndACodeGenConverter extends BaseConverter&lt;CGen, AGen&gt; {
  
      @Mapping(target = &quot;owner&quot;, source = &quot;owner.name&quot;)
      @Mapping(target = &quot;useCA&quot;, source = &quot;defaultCA&quot;)
      AGen convertToDto(CGen entity);
  }
  </code></pre>
  <p>Our build.gradle is like this</p>
  <pre><code>    mapstructVersion = &quot;1.4.1.Final&quot;
      lombokVersion = &quot;1.18.12&quot;
      lombokMapstructBindingVersion = &quot;0.2.0&quot;
  
      compileOnly('org.projectlombok:lombok:1.18.12')
      compile(&quot;org.mapstruct:mapstruct:${mapstructVersion}&quot;)
      implementation &quot;org.mapstruct:mapstruct:${mapstructVersion}&quot;, &quot;org.projectlombok:lombok:${lombokVersion}&quot;
      annotationProcessor &quot;org.mapstruct:mapstruct-processor:${mapstructVersion}&quot;, &quot;org.projectlombok:lombok-mapstruct-binding:${lombokMapstructBindingVersion}&quot;
   
  </code></pre>
  <p>The error we are getting is</p>
  <pre><code>error: No property named &quot;owner.name&quot; exists in source parameter(s). Did you mean &quot;null&quot;?
  </code></pre>
  <p>This was working fine in Gradle 4.5 .</p>