Skip to content

Conversation

@afalhambra-hivemq
Copy link
Contributor

Summary

This PR adds reproducible builds configuration to ensure byte-identical artifacts across different build environments.

Changes

  • build.gradle.kts: Configure archive tasks for reproducible builds (timestamps, file order, permissions)
  • gradle.properties: Add build cache and locale normalization
  • .github/workflows/releaseExtension.yml: Add SHA256 checksum generation and upload for release artifacts

What's Configured

  • ✅ Normalized file timestamps (1980-02-01 00:00:00)
  • ✅ Reproducible file ordering
  • ✅ Normalized file permissions (0644 for files, 0755 for directories)
  • ✅ UTF-8 encoding enforced
  • ✅ Build cache enabled
  • ✅ Locale normalization
  • ✅ SHA256 checksum uploaded with releases

@cla-bot cla-bot bot added the cla-signed label Oct 3, 2025
@afalhambra-hivemq afalhambra-hivemq merged commit 9f38631 into master Oct 3, 2025
2 checks passed
@afalhambra-hivemq afalhambra-hivemq deleted the improvement/reproducible-builds branch October 3, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants