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.

170 lines
6.0 KiB
Groovy

plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
}
2 years ago
2 years ago
android {
namespace 'com.rehome.zhdcoa'
11 months ago
compileSdk 35
2 years ago
defaultConfig {
applicationId "com.rehome.zhdcoa"
minSdk 24
11 months ago
targetSdk 35
9 months ago
versionCode 22
versionName "2.3.8"
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 //开启代码混淆,防止反编译查看源代码
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 {
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
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/badgeview.jar')
2 years ago
implementation files('libs/TbsFileSdk_base_arm64_release_1.0.5.6000030.20231109143447.aar')
2 years ago
implementation libs.androidx.core.ktx
implementation libs.androidx.appcompat
implementation libs.material
implementation libs.androidx.activity
implementation libs.androidx.constraintlayout
testImplementation libs.junit
androidTestImplementation libs.androidx.junit
androidTestImplementation libs.androidx.espresso.core
//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')
//视频压缩
implementation project(':videocompressor')
//实时录音wav转mp3
implementation project(':recorderlib')
//网络请求
10 months ago
implementation libs.logging.interceptor
implementation libs.com.squareup.retrofit2.retrofit3
implementation libs.com.squareup.retrofit2.converter.gson
implementation libs.okhttp
implementation libs.cn.hutool.hutool.all
implementation libs.com.github.philjay.mpandroidchart6
implementation libs.circleimageview
implementation libs.com.github.chrisbanes.photoview.library6
implementation libs.me.leolin.shortcutbadger
implementation libs.cn.jzvd.jiaozivideoplayer6
implementation libs.com.github.chrisbanes.photoview6
implementation libs.com.davemorrissey.labs.subsampling.scale.image.view6
implementation libs.com.github.huangyanbin.smarttable6
implementation libs.androidx.multidex
implementation libs.recyclerview.v140
implementation libs.xuexiangjys.xui
implementation libs.baoyachi.stepview
implementation libs.appupdate
implementation libs.com.tencent.bugly.crashreport
// 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'
//第三方浏览器
10 months ago
implementation libs.io.github.justson.agentweb.core3
implementation libs.cymchad.baserecyclerviewadapterhelper
2 years ago
//第三方库图片选择器
// PictureSelector basic (Necessary)
10 months ago
implementation libs.github.pictureselector
2 years ago
// image compress library (Not necessary)
10 months ago
implementation libs.github.compress
2 years ago
// uCrop library (Not necessary)
10 months ago
implementation libs.github.ucrop
2 years ago
// simple camerax library (Not necessary)
10 months ago
implementation libs.github.camerax
2 years ago
//第三方库图片异步加载
10 months ago
implementation libs.com.github.bumptech.glide.glide
annotationProcessor libs.compiler
2 years ago
//mqtt
10 months ago
implementation libs.eclipse.org.eclipse.paho.client.mqttv3
implementation libs.eclipse.org.eclipse.paho.android.service
implementation libs.org.bouncycastle.bcpkix.jdk15on
implementation libs.commons.codec
//emoji表情符号
10 months ago
implementation libs.androidx.emoji.bundled
//二维码扫描
10 months ago
implementation libs.barcode.scanning
2 years ago
}