apply plugin: 'com.android.application' apply plugin: 'com.huawei.agconnect' android { signingConfigs { release { keyAlias 'gdxzclient_key' keyPassword 'password' storeFile file('F:/work20200309/gdxzclient_key.key.keystore') storePassword 'password' } } // configurations.all { // resolutionStrategy { // force 'com.android.support:support-annotations:26.1.0' // } // } compileSdkVersion 29 defaultConfig { applicationId "cn.shangyu.gdxzPatient" minSdkVersion 19 targetSdkVersion 29 versionCode 78 versionName "3.7.8" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' multiDexEnabled true // signingConfig signingConfigs.config signingConfig signingConfigs.release ndk { abiFilters "armeabi", "armeabi-v7a", "x86","arm64-v8a" // abiFilters "arm64-v8a" } } lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false disable "ResourceType" } compileOptions { sourceCompatibility 1.8 targetCompatibility 1.8 } sourceSets { main { jniLibs.srcDirs = ['libs'] } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { signingConfig signingConfigs.release } } dexOptions { javaMaxHeapSize "6g" } buildToolsVersion '29.0.3' useLibrary 'org.apache.http.legacy' productFlavors { } } afterEvaluate { tasks.matching { it.name.startsWith('dex') }.each { dx -> if (dx.additionalParameters == null) { dx.additionalParameters = [] } dx.additionalParameters += '--multi-dex' // enable multidex } } dependencies { implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs') implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation project(path: ':zbarlibary') testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', { exclude group: 'com.android.support', module: 'support-annotations' }) implementation files('libs/source-lecast-release.aar') // implementation project(':pingpp') // implementation project(':PushSDK') implementation project(path: ':uikit') implementation project(':TimeLib') implementation project(':library_pullToRefresh') implementation files('libs/android-viewbadger.jar') implementation files('libs/commons-codec-1.3.jar') implementation files('libs/commons-lang-2.6.jar') // implementation files('libs/glide-3.6.0.jar') implementation files('libs/pinyin4j-2.5.0.jar') // implementation files('libs/SocialSDK_Sina_Simplify.jar') // implementation files('libs/SocialSDK_WeChat_Simplify.jar') implementation files('libs/Sunflower.jar') // implementation files('libs/umeng-update-v2.6.0.1.jar') // implementation files('libs/umeng_social_api.jar') // implementation files('libs/umeng_social_net.jar') // implementation files('libs/umeng_social_shareboard.jar') // implementation files('libs/umeng_social_shareview.jar') // implementation files('libs/umeng_social_tool.jar') implementation files('libs/universal-image-loader-1.9.4-with-sources.jar') implementation files('libs/xUtils-2.6.14.jar') implementation 'androidx.multidex:multidex:2.0.0' implementation 'com.github.dfqin:grantor:2.1.0' // implementation files('libs/YTX_Android_IM_SDK_v5.4.8r.jar') // implementation 'me.leolin:ShortcutBadger:1.1.13@aar' // implementation files('libs/HwPush_SDK_NOMAP_V2705.jar') implementation files('libs/MiPush_SDK_Client_3_8_5.jar') implementation files('libs/Msc.jar') //64K 引用限制 // compile 'com.android.support:support-v4:26.1.0' implementation 'com.google.android.material:material:1.0.0' implementation 'net.polyv.android:polyvPlayer:2.15.2'//SDK核心包 implementation 'net.polyv.android:polyvPlayerABI:1.9.9'//SDK核心包 implementation 'net.polyv.android:polyvDownload:2.15.2'//SDK下载功能 implementation 'net.polyv.android:polyvUpload:2.3.3'//SDK上传功能 // implementation 'com.easefun.polyv:polyvPlayer:2.13.0' // implementation 'com.easefun.polyv:polyvPlayerABI:1.7.1' // implementation 'com.easefun.polyv:polyvDownload:2.13.0' // implementation 'com.easefun.polyv:polyvUpload:2.2.2' // implementation 'com.easefun.polyv:polyvScreencast:0.2.0' implementation 'de.hdodenhof:circleimageview:2.2.0' implementation 'com.daimajia.swipelayout:library:1.2.0@aar' // implementation 'com.easefun.polyv:polyvGif:2.2.1' // implementation 'com.easefun.polyv:polyvSub:2.10.0' implementation 'net.polyv.android:polyvGif:2.2.2'//demo中课程讨论区显示的内容里用到的包 implementation 'net.polyv.android:polyvSub:2.15.2'//弹幕、截图功能中使用 implementation 'me.leolin:ShortcutBadger:1.1.22@aar' implementation files('libs/BaiduLBS_Android.jar') implementation 'androidx.appcompat:appcompat:1.0.0' //压缩图片 implementation 'top.zibin:Luban:1.1.8' implementation ('com.github.bumptech.glide:glide:4.1.1') { exclude group: 'com.android.support' } annotationProcessor 'com.github.bumptech.glide:compiler:4.1.1' //华为推送 implementation 'com.huawei.hms:push:4.0.4.301' // implementation 'com.google.android.material:material:1.0.0' implementation 'com.pingxx:pingpp-android:2.3.5' // (Ping++ 标准版 SDK) 必须添加 implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.5.8' // 使用微信支付时添加,具体版本参考微信官方文档或者 jcenter implementation 'com.pingxx:pingpp-android-alipay:15.7.4' // 使用支付宝时添加(bu包含 UTDID) // 基础依赖包,必须要依赖 implementation 'com.gyf.immersionbar:immersionbar:3.0.0' // 友盟SDK implementation 'com.umeng.umsdk:common:9.4.4'// 必选 implementation 'com.umeng.umsdk:asms:1.4.1'// 必选 implementation 'com.umeng.umsdk:share-core:7.1.6'//分享核心库,必选 implementation 'com.umeng.umsdk:share-board:7.1.6'//分享面板功能,可选 implementation 'com.umeng.umsdk:share-wx:7.1.6' //微信完整版 implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.7.9'//微信官方依赖库,必选 // implementation 'com.umeng.umsdk:share-qq:7.1.6'//QQ完整版 // implementation 'com.tencent.tauth:qqopensdk:3.53.0'//QQ官方依赖库,必选 // implementation 'com.squareup.okhttp3:okhttp:3.12.12'//QQ SDK在3.53.0版本及以上时需要集成okhttp官方依赖库,必选 implementation 'com.umeng.umsdk:share-sina:7.1.6'//新浪微博完整版 // implementation 'com.sina.weibo.sdk:core:10.10.0:openDefaultRelease@aar'//新浪微博官方SDK依赖库,必选 }