Skip to content

Commit 8ad3fca

Browse files
committed
fix play deploy
1 parent 3e4c0bc commit 8ad3fca

2 files changed

Lines changed: 19 additions & 14 deletions

File tree

demoapp/build.gradle

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,33 @@
1414
* limitations under the License.
1515
*/
1616

17-
apply plugin: 'com.android.application'
18-
apply plugin: 'com.github.triplet.play'
19-
20-
dependencies {
21-
implementation project(':androidplot-core')
22-
implementation 'com.crittercism:crittercism-android-agent:5.4.0'
23-
24-
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.3'
25-
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
26-
testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
27-
}
17+
//apply plugin: 'com.android.application'
18+
//apply plugin: 'com.github.triplet.play'
2819

2920
buildscript {
3021

3122
repositories {
3223
mavenCentral()
3324
}
3425
dependencies {
35-
classpath 'com.github.triplet.gradle:play-publisher:1.2.0'
26+
classpath 'com.github.triplet.gradle:play-publisher:2.2.1'
3627
}
3728
}
3829

30+
plugins {
31+
id 'com.android.application'
32+
id 'com.github.triplet.play' version '2.2.1'
33+
}
34+
35+
dependencies {
36+
implementation project(':androidplot-core')
37+
implementation 'com.crittercism:crittercism-android-agent:5.4.0'
38+
39+
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.3'
40+
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
41+
testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
42+
}
43+
3944
android {
4045
compileSdkVersion theCompileSdkVersion
4146

@@ -78,6 +83,6 @@ android {
7883

7984
play {
8085
// see: https://github.com/Triple-T/gradle-play-publisher
81-
jsonFile = file(System.getenv("PUBLISHER_ACCT_JSON_FILE") ?: "publisher.json")
86+
serviceAccountCredentials = file(System.getenv("PUBLISHER_ACCT_JSON_FILE") ?: "publisher.json")
8287
track = 'beta'
8388
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-all.zip

0 commit comments

Comments
 (0)