mirror of
https://github.com/Xtao-Labs/FirebaseCloudMessaging-Android.git
synced 2025-01-30 23:18:56 +00:00
54 lines
1.1 KiB
Groovy
54 lines
1.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
buildToolsVersion '30.0.3'
|
|
|
|
defaultConfig {
|
|
applicationId "com.xtaolabs.fcm"
|
|
minSdkVersion 24
|
|
targetSdkVersion 33
|
|
versionCode 5
|
|
versionName "1.0.5"
|
|
resConfigs('en', 'xxxhdpi')
|
|
ndk {
|
|
abiFilters "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
|
|
}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation platform('com.google.firebase:firebase-bom:32.2.0')
|
|
implementation 'com.google.firebase:firebase-analytics:21.3.0'
|
|
implementation 'com.google.firebase:firebase-messaging:23.2.0'
|
|
}
|
|
|
|
apply plugin: 'com.google.gms.google-services' |