Files
Code-Android/HospitalPatient/app/build.gradle

114 lines
4.2 KiB
Groovy
Raw Normal View History

2020-10-21 23:24:05 +08:00
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "com.dlqyha.patient"
minSdkVersion 21
targetSdkVersion 28
versionCode 5
versionName "1.0.5"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
//选择要添加的对应 cpu 类型的 .so 库。
abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64', 'mips', 'mips64'
// 还可以添加 'x86', 'x86_64', 'mips', 'mips64'
}
manifestPlaceholders = [
JPUSH_PKGNAME: "com.dlqyha.patient",
JPUSH_APPKEY : "6ed866071d445aee3ee1bea1", //JPush 上注册的包名对应的 Appkey.
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
]
}
signingConfigs {
release {
storeFile file("key.jks")
storePassword "112233"
keyAlias "key"
keyPassword "112233"
}
}
buildTypes {
release {
minifyEnabled false
debuggable false
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dataBinding {
enabled true;
}
}
dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
//noinspection GradleCompatible
implementation 'com.android.support:recyclerview-v7:28.0.0'
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
//图片选择 压缩
implementation 'com.zhihu.android:matisse:0.5.2-beta4'
implementation 'top.zibin:Luban:1.1.8'
//网络请求
implementation 'com.squareup.okhttp3:okhttp:3.9.0'
implementation 'com.google.code.gson:gson:2.6.2'
//分包
implementation 'com.android.support:multidex:1.0.0'
//
implementation 'com.hyman:flowlayout-lib:1.1.2'
//图片加载
implementation 'com.github.bumptech.glide:glide:4.9.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
//广告轮播
implementation 'com.youth.banner:banner:1.4.10'
api('com.alibaba.android:ultraviewpager:1.0.7.7@aar') {
transitive = true
}
//支付
implementation(name: 'alipaySdk-15.7.4-20200228192259', ext: 'aar')
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
implementation project(path: ':iOS_Dialog_Library')
//日志
implementation 'com.tencent.bugly:crashreport:latest.release'
//其中latest.release指代最新Bugly SDK版本号也可以指定明确的版本号例如2.1.9
implementation 'com.tencent.bugly:nativecrashreport:latest.release'
//其中latest.release指代最新Bugly NDK版本号也可以指定明确的版本号例如3.0
//小米推送
implementation files('libs/MiPush_SDK_Client_3_7_6.jar')
//华为推送
api 'com.huawei.android.hms:base:2.6.1.301'
api 'com.huawei.android.hms:push:2.6.1.301'
//极光推送
implementation 'cn.jiguang.sdk:jpush:3.6.6' // 此处以JPush 3.6.6 版本为例。
implementation 'cn.jiguang.sdk:jcore:2.3.8' // 此处以JCore 2.3.8 版本为例。
//验证码自动填充
implementation 'com.github.gongw:verifycodeview:1.0.2'
}