[
https://issues.apache.org/jira/browse/KAFKA-19762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18105014#comment-18105014
] Dejan Stojadinović commented on KAFKA-19762: -------------------------------------------- Update: I have to sort out persmissions: * https://docs.gradle.org/9.6.1/userguide/working_with_files.html#sec:setting_file_permissions * https://docs.gradle.org/9.6.1/userguide/working_with_files.html#sec:permissions_inside_archives * https://docs.gradle.org/9.6.1/javadoc/org/gradle/api/file/FilePermissions.html * https://docs.gradle.org/9.6.1/javadoc/org/gradle/api/file/ConfigurableFilePermissions.html * https://github.com/gradle/gradle/issues/27783 > 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ć > Assignee: Dejan Stojadinović > Priority: Minor > Labels: Gradle, build, gradle, reproducible-builds > Fix For: 4.5.0 > > > *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 links:* > * [https://reproducible-builds.org|https://reproducible-builds.org/] > * [https://github.com/gradle/gradle/issues/34643] > * [https://github.com/gradle/gradle/issues/30871] > * > [https://docs.gradle.org/9.6.1/userguide/working_with_files.html#sec:reproducible_archives] > * > [https://docs.gradle.org/9.6.1/userguide/working_with_files.html#sec:revert_reproducible_archives] > > * > [https://docs.gradle.org/9.6.1/userguide/upgrading_major_version_9.html#reproducible_archives_by_default] > > * > [https://docs.gradle.org/9.6.1/dsl/org.gradle.api.tasks.bundling.Tar.html#org.gradle.api.tasks.bundling.Tar:preserveFileTimestamps] > * > [https://github.com/gradle/gradle/blob/v9.6.1/subprojects/core/src/main/java/org/gradle/api/tasks/bundling/AbstractArchiveTask.java#L92] > > > *Definition of done (at the minimum):* > * *./gradlew releaseTarGz* works as expected > * produced archive works as expected (Kafka cluster starts, messages can be > produced/consumed, etc) : [https://kafka.apache.org/quickstart] -- This message was sent by Atlassian Jira (v8.20.10#820010)
