| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- plugins {
- id 'com.android.application'
- id 'com.huawei.agconnect'
- }
- android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
- defaultConfig {
- applicationId "cn.seecoder.courselearningdemo"
- minSdkVersion 29
- targetSdkVersion 29
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- signingConfigs {
- config {
- keyAlias 'HMS_demo_key'
- keyPassword 'seecoder'
- storeFile file('MyApplicationKey.jks')
- storePassword 'seecoder'
- v1SigningEnabled true
- v2SigningEnabled true
- }
- }
- buildTypes {
- debug {
- signingConfig signingConfigs.config
- debuggable true
- }
- release {
- signingConfig signingConfigs.config
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation 'com.huawei.hms:hwid:5.0.5.301'
- implementation 'com.huawei.hms:iap:5.0.1.300'
- implementation 'com.huawei.hms:push:5.0.2.300'
- implementation 'androidx.recyclerview:recyclerview:1.1.0'
- implementation 'com.squareup.retrofit2:retrofit:2.7.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.7.0'
- // 生成圆形的头像图片
- implementation 'de.hdodenhof:circleimageview:3.1.0'
- // 用于加载图片的框架
- implementation 'com.github.bumptech.glide:glide:4.11.0'
- annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
- // 用于刷新列表的框架
- implementation 'com.lcodecorex:tkrefreshlayout:1.0.7'
- // View注入框架,不用再写findViewById
- implementation 'com.jakewharton:butterknife:10.2.1'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'com.google.android.material:material:1.2.1'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.3.0'
- }
|