File tree Expand file tree Collapse file tree 15 files changed +746
-17
lines changed Expand file tree Collapse file tree 15 files changed +746
-17
lines changed Original file line number Diff line number Diff line change
1
+ language : android
2
+ android :
3
+ components :
4
+ - platform-tools
5
+ - tools
6
+ - build-tools-23.0.3
7
+ - android-23
8
+ - extra-google-google_play_services
9
+ - extra-google-m2repository
10
+ - extra-android-m2repository
11
+ - extra-android-support
12
+ - addon-google_apis-google-23
13
+ licenses :
14
+ - ' android-sdk-preview-license-52d11cd2'
15
+ - ' android-sdk-license-.+'
16
+ - ' google-gdk-license-.+'
17
+ script :
18
+ - ./build.sh
Original file line number Diff line number Diff line change 1
1
# Firebase Quickstarts for Android
2
2
3
+ [ ![ Build Status] ( https://travis-ci.org/firebase/quickstart-android.svg?branch=master )] ( https://travis-ci.org/firebase/quickstart-android )
4
+
3
5
A collection of quickstart samples demonstrating the Firebase APIs on Android. For more information, see https://firebase.google.com .
4
6
5
7
## How to make contributions?
6
8
Please read and follow the steps in the [ CONTRIBUTING.md] ( CONTRIBUTING.md )
7
9
8
10
## License
9
- See [ LICENSE] ( LICENSE )
11
+ See [ LICENSE] ( LICENSE )
Original file line number Diff line number Diff line change @@ -13,12 +13,18 @@ android {
13
13
14
14
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
15
15
}
16
+
16
17
buildTypes {
17
18
release {
18
- minifyEnabled false
19
+ minifyEnabled true
19
20
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
20
21
}
21
22
}
23
+
24
+ lintOptions {
25
+ abortOnError false
26
+ }
27
+
22
28
packagingOptions {
23
29
exclude ' LICENSE.txt'
24
30
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion 23
5
- buildToolsVersion " 23.0.2 "
5
+ buildToolsVersion " 23.0.3 "
6
6
7
7
defaultConfig {
8
8
applicationId " com.google.firebase.quickstart.analytics"
@@ -11,6 +11,11 @@ android {
11
11
versionCode 1
12
12
versionName " 1.0"
13
13
}
14
+
15
+ lintOptions {
16
+ abortOnError false
17
+ }
18
+
14
19
buildTypes {
15
20
release {
16
21
minifyEnabled true
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion 23
5
- buildToolsVersion " 23.0.2 "
5
+ buildToolsVersion " 23.0.3 "
6
6
7
7
defaultConfig {
8
8
applicationId " com.google.samples.quickstart.app_indexing"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion 23
5
- buildToolsVersion " 23.0.2 "
5
+ buildToolsVersion " 23.0.3 "
6
6
7
7
defaultConfig {
8
8
applicationId " com.google.firebase.quickstart.auth"
@@ -19,6 +19,10 @@ android {
19
19
}
20
20
}
21
21
22
+ lintOptions {
23
+ abortOnError false
24
+ }
25
+
22
26
productFlavors {
23
27
24
28
// Build variant to include the Facebook Android SDk
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Exit on error
4
+ set -e
5
+
6
+ # List of all samples
7
+ samples=( admob analytics app-indexing auth config crash database dynamiclinks invites messaging storage )
8
+
9
+ for sample in " ${samples[@]} "
10
+ do
11
+ echo " Building ${sample} "
12
+
13
+ if [ $TRAVIS_PULL_REQUEST = false ] ; then
14
+ # For a merged commit, build all configurations.
15
+ cd $sample && \
16
+ cp ../mock-google-services.json ./app/google-services.json && \
17
+ ./gradlew clean build
18
+
19
+ # Back to parent directory.
20
+ cd -
21
+ else
22
+ # On a pull request, just build debug which is much faster and catches
23
+ # obvious errors.
24
+ cd $sample && \
25
+ cp ../mock-google-services.json ./app/google-services.json && \
26
+ ./gradlew clean :app:assembleDebug
27
+
28
+ # Back to parent directory.
29
+ cd -
30
+ fi
31
+ done
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion 23
5
- buildToolsVersion " 23.0.2 "
5
+ buildToolsVersion " 23.0.3 "
6
6
7
7
defaultConfig {
8
8
applicationId " com.google.samples.quickstart.config"
@@ -11,9 +11,14 @@ android {
11
11
versionCode 1
12
12
versionName " 1.0"
13
13
}
14
+
15
+ lintOptions {
16
+ abortOnError false
17
+ }
18
+
14
19
buildTypes {
15
20
release {
16
- minifyEnabled false
21
+ minifyEnabled true
17
22
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
18
23
}
19
24
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion 23
5
- buildToolsVersion " 23.0.2 "
5
+ buildToolsVersion " 23.0.3 "
6
6
7
7
defaultConfig {
8
8
applicationId " com.google.samples.quickstart.crash"
@@ -11,6 +11,11 @@ android {
11
11
versionCode 1
12
12
versionName " 1.0"
13
13
}
14
+
15
+ lintOptions {
16
+ abortOnError false
17
+ }
18
+
14
19
buildTypes {
15
20
release {
16
21
minifyEnabled true
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion 23
5
- buildToolsVersion " 23.0.2 "
5
+ buildToolsVersion " 23.0.3 "
6
6
7
7
defaultConfig {
8
8
applicationId " com.google.firebase.quickstart.database"
@@ -11,6 +11,11 @@ android {
11
11
versionCode 1
12
12
versionName " 1.0"
13
13
}
14
+
15
+ lintOptions {
16
+ abortOnError false
17
+ }
18
+
14
19
buildTypes {
15
20
release {
16
21
minifyEnabled true
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion 23
5
- buildToolsVersion " 23.0.2 "
5
+ buildToolsVersion " 23.0.3 "
6
6
7
7
defaultConfig {
8
8
applicationId " com.google.firebase.quickstart.deeplinks"
@@ -11,9 +11,14 @@ android {
11
11
versionCode 1
12
12
versionName " 1.0"
13
13
}
14
+
15
+ lintOptions {
16
+ abortOnError false
17
+ }
18
+
14
19
buildTypes {
15
20
release {
16
- minifyEnabled false
21
+ minifyEnabled true
17
22
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
18
23
}
19
24
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion 23
5
- buildToolsVersion " 23.0.2 "
5
+ buildToolsVersion " 23.0.3 "
6
6
7
7
defaultConfig {
8
8
applicationId " com.google.firebase.quickstart.invites"
@@ -16,11 +16,15 @@ android {
16
16
17
17
buildTypes {
18
18
release {
19
- minifyEnabled false
19
+ minifyEnabled true
20
20
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
21
21
}
22
22
}
23
23
24
+ lintOptions {
25
+ abortOnError false
26
+ }
27
+
24
28
packagingOptions {
25
29
exclude ' LICENSE.txt'
26
30
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion 23
5
- buildToolsVersion " 23.0.2 "
5
+ buildToolsVersion " 23.0.3 "
6
6
7
7
defaultConfig {
8
8
applicationId " com.google.firebase.quickstart.fcm"
@@ -13,12 +13,18 @@ android {
13
13
14
14
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
15
15
}
16
+
16
17
buildTypes {
17
18
release {
18
- minifyEnabled false
19
+ minifyEnabled true
19
20
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
20
21
}
21
22
}
23
+
24
+ lintOptions {
25
+ abortOnError false
26
+ }
27
+
22
28
packagingOptions {
23
29
exclude ' LICENSE.txt'
24
30
}
You can’t perform that action at this time.
0 commit comments