app_department/app/build.gradle

73 lines
2.5 KiB
Groovy
Raw Normal View History

2022-08-22 15:07:59 +08:00
plugins {
id 'com.android.application'
}
android {
signingConfigs {
release {
storeFile file('/Users/adam/Documents/tengshi.jks')
storePassword 'aaa111!!!'
keyAlias = 'tengshi'
keyPassword 'aaa111!!!'
}
debug {
storeFile file('/Users/adam/Documents/tengshi.jks')
storePassword 'aaa111!!!'
keyAlias = 'tengshi'
keyPassword 'aaa111!!!'
}
}
compileSdkVersion rootProject.ext.gCompileSdkVersion
defaultConfig {
applicationId "com.tengshisoft.departmentclient"
minSdkVersion rootProject.ext.gMinSdkVersion
targetSdkVersion rootProject.ext.gCompileSdkVersion
versionCode rootProject.ext.gVersionCode
versionName rootProject.ext.gVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
sourceSets {
main {
jniLibs.srcDir 'libs'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':baselib')
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
if (IsModuleDev.toBoolean()) {
implementation project(':mainmodule')
implementation project(':chatmodule')//在线聊天
implementation project(':modulemap')//地图定位
implementation project(':commonmodule')//公共模块
implementation project(':supervisionmodule')//部门端
}
//ARouter
api "com.alibaba:arouter-api:$rootProject.ext.gRouterApiVersion"
//SmartRefreshLayout
implementation "com.alibaba:arouter-api:${rootProject.ext.gRouterApiVersion}"
implementation 'com.github.jarryleo:MagicScreenAdapter:v2.1'
//glide
implementation "com.github.bumptech.glide:glide:${rootProject.ext.supportGlide}"
annotationProcessor "com.github.bumptech.glide:compiler:${rootProject.ext.supportGlide}"
//状态栏
implementation 'androidx.appcompat:appcompat:1.3.1'
//其中latest.release指代最新Bugly SDK版本号也可以指定明确的版本号例如2.2.0
implementation 'com.tencent.bugly:crashreport:3.4.4'
}