aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-01-16 22:33:11 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2014-01-16 22:33:11 +0100
commitca95cb9a43d594979213a54c90662ac4f3e384b5 (patch)
tree57e676ef8cc282789a8487251d0237decde0499f /README.md
parent16b753accacfbf15fce02b8b9708803af39f7ca2 (diff)
downloadopen-keychain-ca95cb9a43d594979213a54c90662ac4f3e384b5.tar.gz
open-keychain-ca95cb9a43d594979213a54c90662ac4f3e384b5.tar.bz2
open-keychain-ca95cb9a43d594979213a54c90662ac4f3e384b5.zip
Update gradle build files to 0.7.3 android plugin, add Gradle 1.9 wrapper, add information about build to readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1e7cea335..6193a301a 100644
--- a/README.md
+++ b/README.md
@@ -105,6 +105,8 @@ TODO
# Libraries
+
+
## ZXing Barcode Scanner Android Integration
Classes can be found under "libraries/zxing-android-integration/".
@@ -151,6 +153,21 @@ See http://docs.oseems.com/general/application/eclipse/fix-gc-overhead-limit-exc
1. Open svg file in Inkscape
2. Extensions -> Color -> darker (2 times!)
+## Gradle Build System
+
+We try to make our builds as [reproducible/deterministic](https://blog.torproject.org/blog/deterministic-builds-part-one-cyberwar-and-global-compromise) as possible.
+This is also a key requirement to be part of F-Droid.
+When changing build files or dependencies, respect the following requirements:
+- No precompiled libraries. All libraries should be provided as sourcecode in "libraries" folder
+- No dependencies from Maven
+- Always use a fixed Android Gradle plugin version not a dynamic one, e.g. ``0.7.3`` instead of ``0.7.+``
+- Commit the corresponding gradle wrapper version to the repository
+
+TODO:
+[ ] include support lib as source
+[ ] include Spongy Castle as source
+[ ] resolve lint errors (currently abortOnError is false in some build.gradle files of main project and libraries)
+
# Coding Style
## Code