chia7712 commented on pull request #10386:
URL: https://github.com/apache/kafka/pull/10386#issuecomment-805532637


   The error can be reproduced on either 2.8 or trunk branch by deleting the 
`.git` folder. 
   
   We apply `rat.gradle` if `.git` folder exists (see 
https://github.com/apache/kafka/blob/trunk/build.gradle#L135) and `rat.gradle` 
applies java plugin 
(https://github.com/apache/kafka/blob/trunk/gradle/rat.gradle#L101). Hence, 
`build.gradle` does not need to apply java plugin explicitly when there is a 
`.git` folder.
   
   In short, +1 to apply java plugin explicitly. BTW, could you revise the 
comments about why we have to apply java plugin?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to