Allow to configure play api key

This commit is contained in:
ByteHamster 2019-01-16 23:15:34 +01:00
parent 1c9b4be17a
commit 33f8bd78a4
1 changed files with 10 additions and 2 deletions

View File

@ -197,9 +197,17 @@ dependencies {
} }
play { play {
if (project.hasProperty("antennaPodServiceAccountEmail")) {
serviceAccountEmail = antennaPodServiceAccountEmail
} else {
serviceAccountEmail = '522080222319-compute@developer.gserviceaccount.com' serviceAccountEmail = '522080222319-compute@developer.gserviceaccount.com'
}
if (project.hasProperty("antennaPodPk12File")) {
pk12File = file(antennaPodPk12File)
} else {
pk12File = file('../serviceaccount-c3d7d0f61387.p12') pk12File = file('../serviceaccount-c3d7d0f61387.p12')
} }
}
// about.html is templatized so that we can automatically insert // about.html is templatized so that we can automatically insert
// our version string in to it at build time. // our version string in to it at build time.