|
14 | 14 | * limitations under the License. |
15 | 15 | */ |
16 | 16 |
|
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' |
28 | 19 |
|
29 | 20 | buildscript { |
30 | 21 |
|
31 | 22 | repositories { |
32 | 23 | mavenCentral() |
33 | 24 | } |
34 | 25 | dependencies { |
35 | | - classpath 'com.github.triplet.gradle:play-publisher:1.2.0' |
| 26 | + classpath 'com.github.triplet.gradle:play-publisher:2.2.1' |
36 | 27 | } |
37 | 28 | } |
38 | 29 |
|
| 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 | + |
39 | 44 | android { |
40 | 45 | compileSdkVersion theCompileSdkVersion |
41 | 46 |
|
@@ -78,6 +83,6 @@ android { |
78 | 83 |
|
79 | 84 | play { |
80 | 85 | // 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") |
82 | 87 | track = 'beta' |
83 | 88 | } |
0 commit comments