1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 34
- defaultConfig {
- minSdkVersion 21
- targetSdkVersion 34
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- manifestPlaceholders = [
- MI_APP_ID : "2882303761517722456",
- MI_APP_KEY : "5731772292456",
- HMS_APP_ID : "100221325",
- MEIZU_APP_ID : "113616",
- MEIZU_APP_KEY: "fcd886f51c144b45b87a67a28e2934d1",
- VIVO_APP_ID : "12918",
- VIVO_APP_KEY : "c42feb05-de6c-427d-af55-4f902d9e0a75",
- OPPO_APP_KEY : "16c6afe503b24259928e082ef01a6bf2",
- OPPO_APP_SECRET : "16c6afe503b24259928e082ef01a6bf2"
- ]
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility 1.8
- targetCompatibility 1.8
- }
- namespace 'cn.wildfirechat.push'
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- compileOnly fileTree(dir: '../push-aar-dep', include: ['*.aar'])
- implementation 'com.huawei.hms:push:6.12.0.300'
- implementation 'androidx.appcompat:appcompat:1.7.0'
- implementation project(':client')
- // implementation 'com.meizu.flyme.internet:push-internal:3.4.2@aar'
- implementation platform('com.google.firebase:firebase-bom:33.2.0')
- implementation 'com.google.firebase:firebase-messaging:24.0.1'
- implementation 'com.google.android.gms:play-services-base:18.5.0'
- def lifecycle_version = '2.2.0'
- implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
- }
|