|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
// signingConfigs {
|
|
|
|
// config {
|
|
|
|
// keyAlias 'gdxzclient_key'
|
|
|
|
// keyPassword 'password'
|
|
|
|
// storeFile file('E:/work2020203/gdxzclient_key.key.keystore')
|
|
|
|
// storePassword 'password'
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
// configurations.all {
|
|
|
|
// resolutionStrategy {
|
|
|
|
// force 'com.android.support:support-annotations:26.1.0'
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
compileSdkVersion 26
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "cn.shangyu.gdxzPatient"
|
|
|
|
minSdkVersion 19
|
|
|
|
targetSdkVersion 26
|
|
|
|
versionCode 73
|
|
|
|
versionName "3.6.0"
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
multiDexEnabled true
|
|
|
|
// signingConfig signingConfigs.config
|
|
|
|
ndk {
|
|
|
|
abiFilters "armeabi", "armeabi-v7a", "x86"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
disable "ResourceType"
|
|
|
|
}
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jniLibs.srcDirs = ['libs']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
|
|
|
|
// debug {
|
|
|
|
// signingConfig signingConfigs.config
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dexOptions {
|
|
|
|
javaMaxHeapSize "6g"
|
|
|
|
}
|
|
|
|
buildToolsVersion '26.0.2'
|
|
|
|
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'], dir: 'libs')
|
|
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
|
|
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', {
|
|
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
|
|
})
|
|
|
|
implementation project(':pingpp')
|
|
|
|
implementation project(':PushSDK')
|
|
|
|
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_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 'com.android.support:multidex:1.0.2'
|
|
|
|
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_6_19.jar')
|
|
|
|
implementation files('libs/Msc.jar')
|
|
|
|
//64K 引用限制
|
|
|
|
// compile 'com.android.support:support-v4:26.1.0'
|
|
|
|
implementation 'com.android.support:design:26.1.0'
|
|
|
|
implementation 'com.easefun.polyv:polyvPlayer:2.13.0'
|
|
|
|
// //SDK核心包
|
|
|
|
implementation 'com.easefun.polyv:polyvPlayerABI:1.7.1'
|
|
|
|
// //SDK核心包
|
|
|
|
implementation 'com.easefun.polyv:polyvDownload:2.13.0'
|
|
|
|
//
|
|
|
|
// //SDK下载功能
|
|
|
|
implementation 'com.easefun.polyv:polyvUpload:2.2.2'
|
|
|
|
// //SDK上传功能
|
|
|
|
implementation 'com.easefun.polyv:polyvScreencast:0.2.0'
|
|
|
|
// //SDK上传功能
|
|
|
|
implementation 'de.hdodenhof:circleimageview:2.2.0'
|
|
|
|
// //圆形imageview,音频封面图使用
|
|
|
|
// // compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'//demo中图片使用
|
|
|
|
implementation 'com.daimajia.swipelayout:library:1.2.0@aar'
|
|
|
|
// //demo中下载列表使用
|
|
|
|
implementation 'com.easefun.polyv:polyvGif:2.2.1'
|
|
|
|
// //demo中课程讨论区显示的内容里用到的包
|
|
|
|
implementation 'com.easefun.polyv:polyvSub:2.10.0'
|
|
|
|
|
|
|
|
// //弹幕、截图功能中使用
|
|
|
|
implementation 'me.leolin:ShortcutBadger:1.1.13@aar'
|
|
|
|
implementation files('libs/BaiduLBS_Android.jar')
|
|
|
|
implementation 'com.android.support:appcompat-v7:26.1.0'
|
|
|
|
|
|
|
|
// implementation 'com.google.android.material:material:1.0.0'
|
|
|
|
|
|
|
|
}
|