1// Gradle init script that enforces byte-for-byte reproducibility on every
2// archive task. AGP 8.x already produces deterministic APKs/AABs, but any
3// custom Zip/Jar tasks added by submodules or plugins need these flags too.
5// Applied automatically when SOURCE_DATE_EPOCH is set in the environment, or
6// can be applied explicitly with `--init-script reproducible.gradle`.
9 tasks.withType(AbstractArchiveTask).configureEach {
10 preserveFileTimestamps = false
11 reproducibleFileOrder = true
12 dirPermissions { unix(0755) }
13 filePermissions { unix(0644) }
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list