mirror of
https://github.com/Xtao-Labs/FirebaseCloudMessaging-Android.git
synced 2025-02-07 02:48:47 +00:00
39 lines
855 B
Groovy
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' |