Updated Gradle publisher
This commit is contained in:
parent
f9889939a6
commit
43248271e1
|
@ -1,10 +1,9 @@
|
||||||
plugins {
|
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
|
import org.apache.tools.ant.filters.ReplaceTokens
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
@ -185,18 +184,12 @@ dependencies {
|
||||||
androidTestImplementation 'com.android.support.test:rules:1.0.2'
|
androidTestImplementation 'com.android.support.test:rules:1.0.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
play {
|
if (project.hasProperty("antennaPodServiceAccountEmail")) {
|
||||||
track = 'alpha'
|
apply plugin: 'com.github.triplet.play'
|
||||||
|
play {
|
||||||
if (project.hasProperty("antennaPodServiceAccountEmail")) {
|
track = 'alpha'
|
||||||
serviceAccountEmail = antennaPodServiceAccountEmail
|
serviceAccountEmail = antennaPodServiceAccountEmail
|
||||||
} else {
|
|
||||||
serviceAccountEmail = '522080222319-compute@developer.gserviceaccount.com'
|
|
||||||
}
|
|
||||||
if (project.hasProperty("antennaPodPk12File")) {
|
|
||||||
serviceAccountCredentials = file(antennaPodPk12File)
|
serviceAccountCredentials = file(antennaPodPk12File)
|
||||||
} else {
|
|
||||||
serviceAccountCredentials = file('../serviceaccount-c3d7d0f61387.p12')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ buildscript {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.3.0'
|
classpath 'com.android.tools.build:gradle:3.5.0'
|
||||||
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.5'
|
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.5'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
Loading…
Reference in New Issue