You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
smallblue/app/build.gradle

269 lines
8.4 KiB

apply plugin: 'com.android.application'
android {
signingConfigs {
config {
keyAlias 'YogaKey'
keyPassword 'Yoga@xianlian123'
storeFile file('../appInfo/yoga.jks')
storePassword 'Yoga@xianlian123'
}
}
compileSdkVersion 28
defaultConfig {
applicationId "com.zhilian.s8"
minSdkVersion 19
targetSdkVersion 28
versionCode 62
versionName "v_4.2.0"
signingConfig signingConfigs.config
ndk {
abiFilters 'armeabi', 'x86', 'armeabi-v7a', 'arm64-v8a'// 'x86_64', 'arm64-v8a'
}
manifestPlaceholders = [
qq_id: "1107730555" // QQ 客服平台申请的APP ID
]
javaCompileOptions {
annotationProcessorOptions {
arguments = [moduleName: project.getName()]
}
}
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
//命令打包apk重命名
android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "小蓝鲸健康_${variant.name}_${variant.versionName}_${new Date().format("yyyyMMddHHmm")}.apk"
}
}
buildTypes {
release {
minifyEnabled false
signingConfig signingConfigs.config
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
signingConfig signingConfigs.config
}
}
/*allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}*/
lintOptions {
checkReleaseBuilds false
abortOnError false
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/notice.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INFTICE.txt'
exclude 'META-INF/maven/data.domybox.com/data.sdk/pom.properties'
exclude 'META-INF/maven/data.domybox.com/data.sdk/pom.xml'
exclude 'META-INF/rxjava.properties'
exclude 'META-INF/proguard/androidx-annotations.pro'
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
// res.srcDirs = ['src/main/res', 'src/main/res_im', 'src/main/res-rp'] //自定义资源文件夹
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
buildscript {
repositories {
flatDir {
dirs 'libs', projectDir.getPath() + "/libs"
}
jcenter()
mavenCentral()
}
}
dependencies {
api fileTree(include: ['*.jar'], dir: 'libs')
androidTestApi('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testApi 'junit:junit:4.12'
api 'com.android.support:support-v4:28.0.0'
api 'com.android.support:appcompat-v7:28.0.0'
api 'com.android.support:design:28.0.0'
api 'com.android.support:cardview-v7:28.0.0'
api 'com.android.support:recyclerview-v7:28.0.0'
api 'com.android.support.constraint:constraint-layout:1.0.2'
api 'com.prolificinteractive:material-calendarview:1.4.3'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
api 'com.google.code.gson:gson:2.8.0'
api 'com.jude:swipebackhelper:3.1.2'
api 'com.jph.takephoto:takephoto_library:4.0.3'
api 'me.shaohui.advancedluban:library:1.3.5'
api 'com.makeramen:roundedimageview:2.3.0'
api 'com.contrarywind:Android-PickerView:4.1.9'
api 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'
api 'com.alibaba:fastjson:1.1.34.android'
api 'vip.devkit:common.widget:2.0.2'
api 'vip.devkit:common.util:1.0.9'
api 'de.greenrobot:eventbus:2.4.0'
api('com.alibaba.android:vlayout:1.2.8@aar') {
transitive = true
}
api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
api 'com.yanzhenjie:recyclerview-swipe:1.1.2'
api project(':datepicker')
// compile 'com.android.support:design:24.1.1'
api('cn.yipianfengye.android:zxing-library:2.2') {
exclude module: 'support-v4'
exclude group: 'com.android.support'
}
api 'com.blankj:utilcode:1.15.1'
api 'vip.devkit:common.share:1.1.3'
//权限申请
api 'pub.devrel:easypermissions:0.2.0'
//下拉刷新
api 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-22'
//扫描
api 'cn.yipianfengye.android:zxing-library:2.2'
//新的用权限申请
api 'me.weyye.hipermission:library:1.0.7'
//flowLayout 流式标签
api 'com.hyman:flowlayout-lib:1.1.2'
//自定义tablayout
api 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
//rxbinding
api 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
//更改后的联系索引,解决排序异常问题
api project(':indexlib')
//阴影layout
api 'com.github.dmytrodanylyk.shadow-layout:library:1.0.3'
//cardView
//rxtool
// compile('com.github.vondear:RxTools:v1.7.3.4') {
// exclude group: 'com.google.code.gson'
// exclude group: 'com.tencent.mm.opensdk'
// }// 在Application中初始化 RxUtils.init(this);
//supertextview
api 'com.github.lygttpod:SuperTextView:2.1.7'
//分包库
api 'com.android.support:multidex:1.0.0'
//ios 滑动开关 switch 用这个
api 'com.github.zcweng:switch-button:0.0.3@aar'
api 'com.github.Hitomis:CrazyShadow:v1.0.1'
// debugCompile 'me.ele:uetool:1.0.15'
// releaseCompile 'me.ele:uet/ool-no-op:1.0.15'
// api 'com.squareup.leakcanary:leakcanary-android:1.5.4'
//鲁班 压缩图片
api 'top.zibin:Luban:1.1.8'
//富文本编辑器
// api 'jp.wasabeef:richeditor-android:1.2.2'
//取色器
api 'com.github.QuadFlask:colorpicker:0.0.13'
//垂直滚动的textview
api 'com.github.paradoxie:AutoVerticalTextview:0.1'
// compile 'com.gongwen:marqueelibrary:1.1.3'
//compile 'com.sunfusheng:marqueeview:1.3.3'
//选择图片
api 'com.jph.takephoto:takephoto_library:4.0.0'
//rxjava
// api 'io.reactivex.rxjava2:rxjava:2.0.0'
// api 'org.reactivestreams:reactive-streams:1.0.0'
//
api 'com.github.bumptech.glide:glide:4.8.0'
api 'com.github.PhilJay:MPAndroidChart:v3.1.0'
api project(':comm')
api project(':marqueelibrary')
api project(':datepicker')
api project(':comm')
api project(':netlib')
api files('libs/pushservice-6.5.0.75.jar')
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-alpha-1'
// api 'com.squareup.leakcanary:leakcanary-android:1.6.3'
//// releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
// // Optional, if you use support library fragments:
// api 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.3'
//js与java互调
compile('com.github.lzyzsd:jsbridge:1.0.4') {
exclude group: 'com.android.support' //exclude 可以解决 lib冲突的问题。
}
implementation project(path: ':richeditor')
api 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
//url转为二维码
//compile 'com.google.zxing:core:3.3.0 '
implementation project(path: ':richeditor')
api(name: 'AlivcPlayer-3.4.9', ext: 'aar')
api(name: 'AlivcReporter-1.2', ext: 'aar')
api(name: 'AliyunVodPlayer-3.4.9', ext: 'aar')
api(name: 'live-pusher-resources-3.3.5', ext: 'aar') {
exclude group: 'com.android.support' //exclude 可以解决 lib冲突的问题
}
api files('libs/live-face-3.3.5.jar')
api files('libs/live-beauty-3.3.5.jar')
api files('libs/live-pusher-3.3.5.jar')
implementation 'com.aliyun.video.android:upload:1.5.5'
api(name: 'WbCloudOcrSdk-pro-release-v2.3.43', ext: 'aar')
// compile(name: 'WbCloudNormal-v4.0.4-22f2b1b', ext: 'aar')
//1. 云刷脸SDK
api(name: 'WbCloudFaceLiveSdk-v3.1.7-677a4796', ext: 'aar')
//2. 云common SDK
api(name: 'WbCloudNormal-v4.0.10-1e5e27e', ext: 'aar')
}