mumrah opened a new pull request, #17066:
URL: https://github.com/apache/kafka/pull/17066

   For several modules, we include a `kafka-version.properties` in the Jar 
file. This file includes the Git SHA of the project at the time of the build. 
This means that even if no source files change, the `:jar` task will never be 
UP-TO-DATE between git commits. Ultimately, this breaks Gradle caching.
   
   This patch marks all of the `createVersionFile` tasks as cacheable and also 
changes our Gradle invocation to override the commit ID to a dummy static 
value. This will allow the `:jar` task to be cacheable and reusable between 
builds.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to