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

186 lines
7.1 KiB
Groovy

plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
2 years ago
android {
namespace 'com.rehome.zhdcoa'
compileSdk 34
2 years ago
defaultConfig {
applicationId "com.rehome.zhdcoa"
minSdk 24
targetSdk 34
1 year ago
versionCode 15
versionName "2.3.1"
2 years ago
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
//每个应用拥有不同的authorities防止相同的在同一个手机上无法同时安装
resValue "string", "authorities", applicationId
resourceConfigurations += ['zh', 'en', 'hdpi']
}
buildFeatures {
viewBinding = true
2 years ago
}
signingConfigs {
release {
keyAlias 'key0'
storeFile file('../key/key_zhdcoa')
storePassword 'abc123123'
keyPassword 'abc123123'
v1SigningEnabled true //是否开启V1签名
v2SigningEnabled true //是否开启V2签名
}
2 years ago
}
/* keypassword:abc123123 alias key0*/
buildTypes {
debug {
minifyEnabled false
}
release {
lintOptions {
checkReleaseBuilds false
abortOnError false
}
minifyEnabled false //开启代码混淆,防止反编译查看源代码
zipAlignEnabled true // 对齐zip
debuggable false // 是否debug
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
//修改生成的apk名字
android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "zdxoaapp.apk"
}
}
2 years ago
signingConfig signingConfigs.release // 打包签名信息
2 years ago
}
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
java.srcDirs = ['src/main/java']
}
}
compileOptions {
2 years ago
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
2 years ago
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation files('libs/pdf.aar')
implementation files('libs/ZSDK_API.jar')
implementation files('libs/ksoap2-android-assembly-3.6.0-jar-with-dependencies.jar')
implementation files('libs/MiPush_SDK_Client_3_4_3.jar')
implementation files('libs/badgeview.jar')
2 years ago
implementation files('libs/TbsFileSdk_base_arm64_release_1.0.5.6000030.20231109143447.aar')
2 years ago
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
//implementation 'com.zhy:autolayout:1.4.5'
//implementation 'com.yolanda.nohttp:nohttp:1.0.5'
//implementation 'org.litepal.android:core:1.5.1'
//implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
//implementation 'com.haozhang.libary:android-slanted-textview:1.2'
//implementation 'com.haibin:calendarview:3.6.3'
//第三方库自动布局
implementation project(':autolayout')
//网络请求模块
implementation project(':nohttp')
//第三方数据库封装,巡检,点检用到
implementation project(':litepal')
//下拉刷新、下拉刷新模块
implementation project(':tkrefreshlayout')
//PDF预览
implementation project(':androidpdfviewer')
//图片边角斜放文字
implementation project(':androidslantedtextview')
//圆角日历CalenderView
implementation project(':calendarview')
//圆角日历CalenderView
implementation project(':zxingLite')
//网络请求
2 years ago
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.0'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.okhttp3:okhttp:3.12.12'
implementation 'cn.hutool:hutool-all:5.8.5'
//implementation 'com.hjq:http:9.0'
//implementation 'com.hjq.gson:factory:2.2'
//implementation 'com.hjq:toast:8.8'
2 years ago
// ----------------------------------------------------------------
2 years ago
implementation 'com.orhanobut:logger:2.2.0'
2 years ago
// implementation 'com.yanzhenjie:permission:2.0.3'
2 years ago
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'com.github.chrisbanes.photoview:library:1.2.4'
implementation 'me.leolin:ShortcutBadger:1.1.22@aar'
implementation 'cn.jzvd:jiaozivideoplayer:7.2.3'
//implementation 'com.google.zxing:core:3.4.1'
//implementation 'com.king.zxing:zxing-lite:1.1.6-androidx'
2 years ago
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0'
implementation 'com.github.huangyanbin:SmartTable:2.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'com.github.xuexiangjys:XUI:1.1.5'
implementation 'com.github.baoyachi:StepView:1.9'
implementation 'io.github.azhon:appupdate:4.2.6'
implementation 'com.tencent.bugly:crashreport:3.2.1'
implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-header:1.1.5'
implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-layout:1.1.5'
//implementation 'com.just.agentweb:agentweb:4.1.4'
//第三方浏览器
implementation 'io.github.justson:agentweb-core:v5.1.1-androidx'
//implementation 'com.lcodecorex:tkrefreshlayout:1.0.7'
2 years ago
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
implementation files('../libs/poi-3.9-20121203.jar')
implementation files('../libs/poi-scratchpad-3.9-20121203.jar')
1 year ago
implementation 'androidx.activity:activity:1.8.0'
2 years ago
testImplementation 'junit:junit:4.13.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
//第三方库图片选择器
// PictureSelector basic (Necessary)
implementation 'io.github.lucksiege:pictureselector:v3.10.7'
// image compress library (Not necessary)
implementation 'io.github.lucksiege:compress:v3.10.7'
// uCrop library (Not necessary)
implementation 'io.github.lucksiege:ucrop:v3.10.7'
// simple camerax library (Not necessary)
implementation 'io.github.lucksiege:camerax:v3.10.7'
//第三方库图片异步加载
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
//mqtt
implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.4'
implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.47'
implementation 'commons-codec:commons-codec:1.15'
//implementation 'com.google.android.play:app-update:2.0.1'
//emoji表情符号
implementation 'androidx.emoji:emoji-bundled:1.0.0'
2 years ago
implementation project(':videocompressor')
//实时录音wav转mp3
2 years ago
implementation project(':recorderlib')
2 years ago
}