Skip to content

Commit f60d2e0

Browse files
Jawnnypoorogerhu
authored andcommitted
Apply common lib version to all modules
downgrade for now change to snapshot delete this line add back in update tab
1 parent 31ef44c commit f60d2e0

File tree

4 files changed

+48
-8
lines changed

4 files changed

+48
-8
lines changed

Parse/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'com.github.kt3k.coveralls'
55
apply plugin: 'com.jfrog.bintray'
66

77
group = 'com.parse'
8-
version = '1.16.8-SNAPSHOT'
8+
version = rootProject.ext.commonLibVersion
99

1010
ext {
1111
projDescription = 'A library that gives you access to the powerful Parse cloud platform from your Android app.'
@@ -19,7 +19,7 @@ buildscript {
1919
}
2020

2121
dependencies {
22-
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1'
22+
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2'
2323
}
2424
}
2525

build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ buildscript {
55
}
66
dependencies {
77
classpath 'com.android.tools.build:gradle:3.0.0'
8+
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2'
89
}
910
}
1011

@@ -24,9 +25,12 @@ allprojects {
2425

2526
ext {
2627
compileSdkVersion = 27
27-
buildToolsVersion = "27.0.0"
2828

29-
supportLibVersion = '27.0.1'
29+
commonLibVersion = "1.17.0-SNAPSHOT"
30+
31+
supportLibVersion = '27.1.0'
32+
googleLibVersion = '12.0.1'
33+
firebaseJobdispatcherVersion = '0.8.5'
3034

3135
minSdkVersion = 14
3236
targetSdkVersion = 27

fcm/build.gradle

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
apply plugin: 'com.android.library'
22

3+
version = rootProject.ext.commonLibVersion
4+
group = 'com.parse'
5+
6+
ext {
7+
projDescription = 'Parse Android FCM support.'
8+
artifact = 'parse-fcm-android'
9+
projName = 'Parse-Android'
10+
gitLink = 'https://github.com/parse-community/Parse-SDK-Android'
11+
}
12+
313
android {
414
compileSdkVersion rootProject.ext.compileSdkVersion
515

@@ -13,6 +23,14 @@ android {
1323

1424
}
1525

26+
packagingOptions {
27+
exclude '**/BuildConfig.class'
28+
}
29+
30+
lintOptions {
31+
abortOnError false
32+
}
33+
1634
buildTypes {
1735
release {
1836
minifyEnabled false
@@ -23,7 +41,7 @@ android {
2341
}
2442

2543
dependencies {
26-
api 'com.google.firebase:firebase-messaging:12.0.1'
27-
api 'com.firebase:firebase-jobdispatcher:0.8.5'
44+
api "com.google.firebase:firebase-messaging:$googleLibVersion"
45+
api "com.firebase:firebase-jobdispatcher:$firebaseJobdispatcherVersion"
2846
implementation project(':Parse')
2947
}

gcm/build.gradle

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
apply plugin: 'com.android.library'
22

3+
version = rootProject.ext.commonLibVersion
4+
group = 'com.parse'
5+
6+
ext {
7+
projDescription = 'Parse Android GCM support.'
8+
artifact = 'parse-gcm-android'
9+
projName = 'Parse-Android'
10+
gitLink = 'https://github.com/parse-community/Parse-SDK-Android'
11+
}
12+
313
android {
414
compileSdkVersion rootProject.ext.compileSdkVersion
515

@@ -13,6 +23,14 @@ android {
1323

1424
}
1525

26+
packagingOptions {
27+
exclude '**/BuildConfig.class'
28+
}
29+
30+
lintOptions {
31+
abortOnError false
32+
}
33+
1634
buildTypes {
1735
release {
1836
minifyEnabled false
@@ -23,7 +41,7 @@ android {
2341
}
2442

2543
dependencies {
26-
api "com.google.android.gms:play-services-gcm:12.0.1"
27-
api 'com.firebase:firebase-jobdispatcher:0.8.5'
44+
api "com.google.android.gms:play-services-gcm:$googleLibVersion"
45+
api "com.firebase:firebase-jobdispatcher:$firebaseJobdispatcherVersion"
2846
implementation project(':Parse')
2947
}

0 commit comments

Comments
 (0)