Skip to content

Ensure deterministic output#883

Open
bwitt wants to merge 1 commit into
icerockdev:masterfrom
bwitt:deterministic-builds
Open

Ensure deterministic output#883
bwitt wants to merge 1 commit into
icerockdev:masterfrom
bwitt:deterministic-builds

Conversation

@bwitt

@bwitt bwitt commented Jul 8, 2026

Copy link
Copy Markdown

Fix a few things that were preventing determinism:

  • Sort filesystem-derived collections so that the output is deterministic
  • fix a couple hashCode() calls to use String.hashCode() which is deterministic vs object.hashCode() which is not

Fixes #882

Signed-off-by: Brian Witt <brianwitt@gmail.com>
@bwitt

bwitt commented Jul 8, 2026

Copy link
Copy Markdown
Author

@owenlejeune can you check if this fixes it for you? not sure I'm testing this right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android Resource Generation is Not-Deterministic

1 participant