apply plugin: 'com.android.application'
|
// 华为推送,agconnect-services.json 文件也得在在application module的根目录
|
apply plugin: 'com.huawei.agconnect'
|
|
android {
|
signingConfigs {
|
// wfc {
|
// keyAlias 'wfc'
|
// keyPassword 'wildfirechat'
|
// storeFile file('../wfc.keystore')
|
// storePassword 'wildfirechat'
|
// }
|
}
|
compileSdkVersion 29
|
aaptOptions.cruncherEnabled = false
|
aaptOptions.useNewCruncher = false
|
defaultConfig {
|
applicationId "com.highdatas.madeasy.patient"
|
minSdkVersion 21
|
targetSdkVersion 29 //当targetversion大于23时,需要使用fileprovider
|
versionCode 30
|
versionName "0.8.2"
|
multiDexEnabled true
|
javaCompileOptions {
|
// annotationProcessorOptions {
|
// includeCompileClasspath false
|
// }
|
}
|
// signingConfig signingConfigs.wfc
|
manifestPlaceholders = [
|
JPUSH_PKGNAME : applicationId,
|
JPUSH_APPKEY : "7d46c2cb4685c65df93ee56e",//值来自开发者平台取得的AppKey
|
rsa : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxZr9kgGXJxFD2kzUQXTiC+RINXtNlY+OPAEeA52zKREDLoDOsyKhopOgpKeNyaPbV07JuoL43MEIGFne1Oxa7DKWsx93dLm7UYlTysUKWSqn7xrt8+hgu+SwMvqk6Al3nBwBlPHizpHtdelawyl4zJL04u9n4XW+4AUBNqbpFNQIDAQAB",//值来自开发者平台取得的AppKey
|
JPUSH_CHANNEL : "default_developer",
|
// TENCENT_APPID: "QQ开发者应用的appID",//腾讯开放平台注册应用得到的appId
|
|
]
|
ndk {
|
abiFilters "armeabi-v7a", 'x86', 'x86_64' // ,'armeabi', 'arm64-v8a', 'x86', 'x86_64'
|
}
|
}
|
buildTypes {
|
release {
|
minifyEnabled true
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
// signingConfig signingConfigs.wfc
|
}
|
debug {
|
minifyEnabled false
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
// signingConfig signingConfigs.wfc
|
}
|
}
|
compileOptions {
|
sourceCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
}
|
|
|
lintOptions {
|
abortOnError false
|
}
|
productFlavors {
|
}
|
sourceSets {
|
main {
|
jniLibs.srcDirs = ['libs']
|
}
|
}
|
}
|
|
repositories {
|
flatDir {
|
dirs 'libs'
|
}
|
}
|
dependencies {
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
implementation 'androidx.core:core-ktx:1.3.2'
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
implementation 'com.google.android.material:material:1.2.1'
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|
//百分比布局
|
implementation 'com.zhy:percent-support-extends:1.1.1'
|
//bugly
|
implementation 'com.tencent.bugly:crashreport:2.8.6.0'
|
implementation 'com.tencent.bugly:nativecrashreport:3.6.0.1'
|
|
//百分比布局
|
implementation 'com.zhy:percent-support-extends:1.1.1'
|
|
implementation 'com.jakewharton:butterknife:10.2.1'
|
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
implementation 'androidx.navigation:navigation-fragment:2.3.2'
|
implementation 'androidx.navigation:navigation-ui:2.3.2'
|
implementation "com.android.support:multidex:1.0.1"
|
//红点
|
implementation 'q.rorbin:badgeview:1.1.3'
|
|
implementation 'com.youth.banner:banner:2.1.0'
|
//指示器样式
|
implementation 'com.github.zhpanvip:viewpagerindicator:1.0.7'
|
|
implementation 'com.gyf.immersionbar:immersionbar:3.0.0-beta05'
|
implementation 'com.airbnb.android:lottie:2.8.0'
|
implementation 'io.reactivex:rxjava:1.1.0'
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
|
implementation 'com.github.zhaolewei:ZlwAudioRecorder:v1.07'
|
|
|
//
|
implementation 'com.github.LinweiJ:ViewPagerIndicator:0.1.0'
|
|
//极光
|
implementation 'cn.jiguang.sdk:jverification:2.6.7' // 此处以jverification 2.6.7 版本为例。
|
implementation 'cn.jiguang.sdk:jcore:2.5.5' // 此处以JCore 2.5.5 版本为例。
|
|
|
implementation project(':uikit')
|
implementation project(':push')
|
implementation project(":emojilibrary")
|
implementation project(':circledialog')
|
implementation project(':nuisdk-release')
|
implementation files('libs/fastjson-1.1.46.android.jar')
|
}
|