FirebaseCloudMessaging-Android/app/build.gradle

38 lines
791 B
Groovy
Raw Normal View History

2016-06-22 11:58:32 +00:00
apply plugin: 'com.android.application'
android {
2016-10-25 14:52:54 +00:00
compileSdkVersion 25
2017-06-30 10:49:57 +00:00
buildToolsVersion "26.0.0"
2016-06-22 11:58:32 +00:00
2016-09-24 15:56:23 +00:00
defaultConfig {
applicationId "com.example.fcm"
2017-02-16 03:55:45 +00:00
minSdkVersion 25
2016-10-25 14:52:54 +00:00
targetSdkVersion 25
2016-09-24 15:56:23 +00:00
versionCode 1
versionName "1.0"
}
2016-06-22 11:58:32 +00:00
2016-09-24 15:56:23 +00:00
buildTypes {
release {
2016-12-02 03:43:53 +00:00
minifyEnabled true
2017-02-16 03:55:45 +00:00
shrinkResources true
2017-06-30 10:49:57 +00:00
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2016-09-24 15:56:23 +00:00
}
2017-06-30 10:49:57 +00:00
debug {
splits.abi.enable = false
splits.density.enable = false
aaptOptions.cruncherEnabled = false
}
}
dexOptions {
preDexLibraries true
maxProcessCount 8
2016-09-24 15:56:23 +00:00
}
2016-06-22 11:58:32 +00:00
}
dependencies {
2017-06-30 10:49:57 +00:00
compile "com.android.support:appcompat-v7:$supportLibraryVersion"
compile "com.google.firebase:firebase-messaging:$firebaseLibraryVersion"
2016-06-22 11:58:32 +00:00
}
apply plugin: 'com.google.gms.google-services'