|
|
|
@ -1,4 +1,7 @@
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
plugins {
|
|
|
|
|
|
|
|
id 'com.android.application'
|
|
|
|
|
|
|
|
id 'org.jetbrains.kotlin.android'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
android {
|
|
|
|
namespace 'com.bjzc.yfdxj'
|
|
|
|
namespace 'com.bjzc.yfdxj'
|
|
|
|
@ -15,9 +18,6 @@ android {
|
|
|
|
resValue "string", "authorities", applicationId
|
|
|
|
resValue "string", "authorities", applicationId
|
|
|
|
resourceConfigurations += ['zh', 'en', 'hdpi']
|
|
|
|
resourceConfigurations += ['zh', 'en', 'hdpi']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildFeatures {
|
|
|
|
|
|
|
|
buildConfig = true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
signingConfigs {
|
|
|
|
signingConfigs {
|
|
|
|
release {
|
|
|
|
release {
|
|
|
|
keyAlias 'key0'
|
|
|
|
keyAlias 'key0'
|
|
|
|
@ -32,7 +32,6 @@ android {
|
|
|
|
buildTypes {
|
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
debug {
|
|
|
|
minifyEnabled false
|
|
|
|
minifyEnabled false
|
|
|
|
buildConfigField "boolean", "LOG_ERROR", "true"
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
release {
|
|
|
|
release {
|
|
|
|
lintOptions {
|
|
|
|
lintOptions {
|
|
|
|
@ -43,7 +42,6 @@ android {
|
|
|
|
zipAlignEnabled true // 对齐zip
|
|
|
|
zipAlignEnabled true // 对齐zip
|
|
|
|
debuggable false // 是否debug
|
|
|
|
debuggable false // 是否debug
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
buildConfigField "boolean", "LOG_ERROR", "false"
|
|
|
|
|
|
|
|
signingConfig signingConfigs.release // 打包签名信息
|
|
|
|
signingConfig signingConfigs.release // 打包签名信息
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -62,14 +60,35 @@ dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
|
|
|
implementation 'com.zhy:autolayout:1.4.5'
|
|
|
|
|
|
|
|
implementation 'com.yolanda.nohttp:nohttp:1.0.5'
|
|
|
|
// implementation 'com.zhy:autolayout:1.4.5'
|
|
|
|
|
|
|
|
// implementation 'com.yolanda.nohttp:nohttp:1.0.5'
|
|
|
|
|
|
|
|
// implementation 'com.zhihu.android:matisse:0.5.3-beta3'
|
|
|
|
|
|
|
|
// implementation 'org.litepal.android:core:1.5.1'
|
|
|
|
|
|
|
|
// //图片压缩
|
|
|
|
|
|
|
|
// implementation 'top.zibin:Luban:1.1.8'
|
|
|
|
|
|
|
|
// implementation 'id.zelory:compressor:1.0.3'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//第三方库自动布局
|
|
|
|
|
|
|
|
implementation project(':autolayout')
|
|
|
|
|
|
|
|
//网络请求模块
|
|
|
|
|
|
|
|
implementation project(':nohttp')
|
|
|
|
|
|
|
|
//第三方数据库封装,巡检,点检用到
|
|
|
|
|
|
|
|
implementation project(':litepal')
|
|
|
|
|
|
|
|
//图片展示模块
|
|
|
|
|
|
|
|
implementation project(':matisse')
|
|
|
|
|
|
|
|
//图片展示模块
|
|
|
|
|
|
|
|
implementation project(':luban')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
implementation 'com.google.android.material:material:1.2.1'
|
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.0'
|
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
|
|
|
implementation 'org.litepal.android:core:1.5.1'
|
|
|
|
|
|
|
|
implementation 'com.github.huangyanbin:SmartTable:2.2.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.multidex:multidex:2.0.1'
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
|
|
implementation 'de.hdodenhof:circleimageview:3.1.0'
|
|
|
|
implementation 'de.hdodenhof:circleimageview:3.1.0'
|
|
|
|
@ -81,10 +100,8 @@ dependencies {
|
|
|
|
implementation files('libs/rinsunMT.jar')
|
|
|
|
implementation files('libs/rinsunMT.jar')
|
|
|
|
implementation 'org.greenrobot:eventbus:3.0.0'
|
|
|
|
implementation 'org.greenrobot:eventbus:3.0.0'
|
|
|
|
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
|
|
|
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
|
|
|
implementation 'com.zhihu.android:matisse:0.5.3-beta3'
|
|
|
|
|
|
|
|
//图片压缩
|
|
|
|
|
|
|
|
implementation 'top.zibin:Luban:1.1.8'
|
|
|
|
|
|
|
|
implementation 'id.zelory:compressor:1.0.3'
|
|
|
|
|
|
|
|
//第三方工具类
|
|
|
|
//第三方工具类
|
|
|
|
implementation 'cn.hutool:hutool-all:5.8.5'
|
|
|
|
implementation 'cn.hutool:hutool-all:5.8.5'
|
|
|
|
//mqtt
|
|
|
|
//mqtt
|
|
|
|
|