diff options
author | ByteHamster <info@bytehamster.com> | 2019-01-16 23:15:34 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-01-18 18:41:00 +0100 |
commit | 33f8bd78a4b67a7781c0ab8f8a3cbd76925fd48b (patch) | |
tree | f18a746197bdbc5cbab532a738bb7d30647aff0c /app | |
parent | 1c9b4be17aa06689076be0f2fac8cb14a09fd839 (diff) | |
download | AntennaPod-33f8bd78a4b67a7781c0ab8f8a3cbd76925fd48b.zip |
Allow to configure play api key
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle index 104fd247f..8bc4dc4c4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -197,8 +197,16 @@ dependencies { } play { - serviceAccountEmail = '522080222319-compute@developer.gserviceaccount.com' - pk12File = file('../serviceaccount-c3d7d0f61387.p12') + if (project.hasProperty("antennaPodServiceAccountEmail")) { + serviceAccountEmail = antennaPodServiceAccountEmail + } else { + serviceAccountEmail = '522080222319-compute@developer.gserviceaccount.com' + } + if (project.hasProperty("antennaPodPk12File")) { + pk12File = file(antennaPodPk12File) + } else { + pk12File = file('../serviceaccount-c3d7d0f61387.p12') + } } // about.html is templatized so that we can automatically insert |