12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 28
- buildToolsVersion "28.0.3"
- defaultConfig {
- minSdkVersion 16
- targetSdkVersion 28
- versionCode 1
- versionName "1.0"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- // 华为 HMS push sdk
- api 'com.huawei.android.hms:base:2.6.0.301'
- api 'com.huawei.android.hms:push:2.6.0.301'
- // api 'com.huawei.android.hms:push:2.6.3.301'
- // implementation(name:'base-2.6.1.301', ext:'aar')
- // implementation(name:'push-2.6.1.301', ext:'aar')
- }
- // ADD THIS AT THE BOTTOM
- //apply plugin: 'com.google.gms.google-services'
- //repositories {
- // jcenter()
- // flatDir{
- // dirs 'libs'
- // }
- //}
|