FirebaseCloudMessaging-Android/app/build.gradle
Jirawat Karanwittayakarn 714dabd6c0 Firebase SDK 11.0.4
2017-08-11 11:55:07 +07:00

39 lines
855 B
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion compileAndTargetSdk
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.example.fcm"
minSdkVersion 25
targetSdkVersion compileAndTargetSdk
versionCode 1
versionName "1.0"
resConfigs('en', 'xxxhdpi')
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
splits.abi.enable = false
splits.density.enable = false
aaptOptions.cruncherEnabled = false
}
}
dexOptions {
preDexLibraries true
maxProcessCount 8
}
}
dependencies {
compile "com.android.support:appcompat-v7:$supportLibraryVersion"
compile "com.google.firebase:firebase-messaging:$firebaseLibraryVersion"
}
apply plugin: 'com.google.gms.google-services'