summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-08-20 22:17:56 +0200
committerByteHamster <info@bytehamster.com>2019-08-20 22:17:56 +0200
commit43248271e1654e03bd16587cfb0d64ad682ba760 (patch)
treeb42e6ae5936d95b88d44fc7827b6c4e19bc059c4 /app
parentf9889939a6a64d23578b5204fc1993dcfadac07f (diff)
downloadAntennaPod-43248271e1654e03bd16587cfb0d64ad682ba760.zip
Updated Gradle publisher
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle21
1 files changed, 7 insertions, 14 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 46b2e01d7..bba300945 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,10 +1,9 @@
plugins {
- id('com.github.triplet.play') version '2.2.0'
+ id('com.android.application')
+ id('com.getkeepsafe.dexcount')
+ id('com.github.triplet.play') version '2.3.0' apply false
}
-apply plugin: "com.android.application"
-apply plugin: 'com.getkeepsafe.dexcount'
-
import org.apache.tools.ant.filters.ReplaceTokens
android {
@@ -185,18 +184,12 @@ dependencies {
androidTestImplementation 'com.android.support.test:rules:1.0.2'
}
-play {
- track = 'alpha'
-
- if (project.hasProperty("antennaPodServiceAccountEmail")) {
+if (project.hasProperty("antennaPodServiceAccountEmail")) {
+ apply plugin: 'com.github.triplet.play'
+ play {
+ track = 'alpha'
serviceAccountEmail = antennaPodServiceAccountEmail
- } else {
- serviceAccountEmail = '522080222319-compute@developer.gserviceaccount.com'
- }
- if (project.hasProperty("antennaPodPk12File")) {
serviceAccountCredentials = file(antennaPodPk12File)
- } else {
- serviceAccountCredentials = file('../serviceaccount-c3d7d0f61387.p12')
}
}