aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/build.gradle
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2015-09-10 12:10:24 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2015-09-10 12:10:24 +0200
commitceefa960764aa93523aa563f0291551bbbe8d7a5 (patch)
tree0cba9d073dd7f06ffdf93d1bebdbe6c9adc6bcd6 /OpenKeychain/build.gradle
parent36f7ef28089154b42ed290f55e11010a802d846b (diff)
downloadopen-keychain-ceefa960764aa93523aa563f0291551bbbe8d7a5.tar.gz
open-keychain-ceefa960764aa93523aa563f0291551bbbe8d7a5.tar.bz2
open-keychain-ceefa960764aa93523aa563f0291551bbbe8d7a5.zip
linked: move github client id and secret into build vars
Diffstat (limited to 'OpenKeychain/build.gradle')
-rw-r--r--OpenKeychain/build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenKeychain/build.gradle b/OpenKeychain/build.gradle
index cbdd498a5..273efac7d 100644
--- a/OpenKeychain/build.gradle
+++ b/OpenKeychain/build.gradle
@@ -157,6 +157,10 @@ android {
buildConfigField "String", "ACCOUNT_TYPE", "\"org.sufficientlysecure.keychain.debug.account\""
buildConfigField "String", "PROVIDER_CONTENT_AUTHORITY", "\"org.sufficientlysecure.keychain.debug.provider\""
+ // Github api for debug build only
+ buildConfigField "String", "GITHUB_CLIENT_ID", "\"7a011b66275f244d3f21\""
+ buildConfigField "String", "GITHUB_CLIENT_SECRET", "\"ced8a6655719d8c6848396de97b3f5d7a89fec\""
+
// Reference them in .xml files.
resValue "string", "account_type", "org.sufficientlysecure.keychain.debug.account"
resValue "string", "provider_content_authority", "org.sufficientlysecure.keychain.debug.provider"