Adding Dependencies to fdroidcient

From F-Droid
Revision as of 00:36, 5 February 2016 by Pserwylo (Talk | contribs) (Created page with "When adding new 3rd party dependencies to the fdroidclient project, the SHA256 sums of each dependency needs to be added to the build file. This ensures that people building f...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

When adding new 3rd party dependencies to the fdroidclient project, the SHA256 sums of each dependency needs to be added to the build file. This ensures that people building fdroidclient will not have incorrect dependencies maliciously or mistakenly used to build the software. To do this, you can:

1) Remove shasum lines from build.gradle

2) Update/add dependencies using the following commands:

 gradle assembleDebug
 gradle -q calculateChecksums

3) Undo shasum line removal and pick new hashes from the output above