MiniDNS / minidns

DNS library for Android and Java SE
Other
215 stars 61 forks source link

core: Drop build date from version to make the project reproducible #112

Closed SunilMohanAdapa closed 3 years ago

SunilMohanAdapa commented 3 years ago

Closes: #111.

Reproducible builds are an important way to independently verify the integrity of the binaries. See the argument for reproducible builds[1].

The jar file minidns-core-1.0.0.jar contains the file org.minidns/version which in turn contains the date of the build. When built on different dates this leads to different jar files.

Tests:

Links:

1) https://reproducible-builds.org/ 2) https://salsa.debian.org/debian/libminidns-java/-/jobs/1616137

Signed-off-by: Sunil Mohan Adapa sunil@medhas.org Tested-by: Sunil Mohan Adapa sunil@medhas.org

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 209


Totals Coverage Status
Change from base Build 193: 0.02%
Covered Lines: 2916
Relevant Lines: 5531

💛 - Coveralls