[ 
https://issues.apache.org/jira/browse/KAFKA-19762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033141#comment-18033141
 ] 

Dejan Stojadinović commented on KAFKA-19762:
--------------------------------------------

Hi [~naveenthuvana] 

My suggestion for you is to try to build with *reproducibleFileOrder = true* 
(this is a default, so it can be left out) and *preserveFileTimestamps = true*

> Turn on Gradle reproducible builds feature
> ------------------------------------------
>
>                 Key: KAFKA-19762
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19762
>             Project: Kafka
>          Issue Type: Task
>          Components: build
>            Reporter: Dejan Stojadinović
>            Priority: Minor
>              Labels: Gradle, build, gradle
>
> *Prologue:* 
> [https://github.com/apache/kafka/pull/19513#discussion_r2405757923] 
> *Note:* during the Gradle version upgrade from 8 to 9 (KAFKA-19174), the 
> reproducible build feature was turned off (but it should be switched on at 
> some point in the future)
> *Related Gradle issues and links:*
>  *  [https://github.com/gradle/gradle/issues/34643]
>  * [https://github.com/gradle/gradle/issues/30871]  
>  * 
> [https://docs.gradle.org/9.1.0/userguide/working_with_files.html#sec:reproducible_archives]
>  * 
> [https://docs.gradle.org/9.1.0/userguide/upgrading_major_version_9.html#reproducible_archives_by_default]
>  
>  * 
> [https://docs.gradle.org/9.1.0/dsl/org.gradle.api.tasks.bundling.Tar.html#org.gradle.api.tasks.bundling.Tar:preserveFileTimestamps]
>   
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to