xz_cultural/app/build.gradle

90 lines
3.9 KiB
Groovy
Raw Permalink Normal View History

2022-10-31 17:44:02 +08:00
apply plugin: 'com.android.application'
android {
signingConfigs {
release {
storeFile file('/Users/adam/Documents/work/keystore/tengshi.jks')
2022-10-31 17:44:02 +08:00
storePassword 'aaa111!!!'
keyAlias = 'tengshi'
keyPassword 'aaa111!!!'
}
debug {
storeFile file('/Users/adam/Documents/work/keystore/tengshi.jks')
2022-10-31 17:44:02 +08:00
storePassword 'aaa111!!!'
keyAlias = 'tengshi'
keyPassword 'aaa111!!!'
}
}
compileSdkVersion rootProject.ext.gCompileSdkVersion
2022-12-20 11:06:44 +08:00
buildToolsVersion rootProject.ext.gBuildToolsVersion
2022-10-31 17:44:02 +08:00
defaultConfig {
2023-03-27 11:49:48 +08:00
applicationId applicationId
2022-10-31 17:44:02 +08:00
minSdkVersion rootProject.ext.gMinSdkVersion
targetSdkVersion rootProject.ext.gCompileSdkVersion
versionCode rootProject.ext.gVersionCode
versionName rootProject.ext.gVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
}
manifestPlaceholders = [
JSHARE_PKGNAME: "com.tengshisoft.cultural",
JPUSH_APPKEY : "9575fdffe323b4febdd385dd", //极光控制台创建应用得到的AppKey.
2022-10-31 17:44:02 +08:00
JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
TENCENT_APPID : "101880285",//腾讯开放平台注册应用得到的appId
2022-10-31 17:44:02 +08:00
]
flavorDimensions("market")
2022-10-31 17:44:02 +08:00
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2023-02-23 10:17:12 +08:00
productFlavors projectProductFlavors
2022-10-31 17:44:02 +08:00
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':cm_utils')
implementation project(':camera')
// implementation files('libs/tbs.jar')
implementation files('libs/BaiduLBS_Android.jar')
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
2022-10-31 17:44:02 +08:00
//SmartRefreshLayout
implementation "com.scwang.smartrefresh:SmartRefreshLayout:${rootProject.ext.gSmartRefreshLayoutVersion}"
if (IsModuleDev.toBoolean()) {
implementation project(':modulemain')//主模块
implementation project(':moduleactivity')//活动
implementation project(':modulecultural')//文化
implementation project(':moduleplace')//场馆
implementation project(':modulemine')//我的
implementation project(':modulemap')//地图
2022-12-20 10:32:09 +08:00
implementation project(':moduleshop')//商城
2022-12-20 11:06:44 +08:00
implementation project(':moduleshop')//地图
2022-10-31 17:44:02 +08:00
}
implementation 'androidx.multidex:multidex:2.0.1'
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 'com.gyf.immersionbar:immersionbar:2.3.3'
//分享
implementation 'cn.jiguang.sdk:jshare:1.8.0' // 此处以JShare 1.6.0 版本为例具体版本请参考压缩包libs的jar包版本。
implementation 'cn.jiguang.sdk:jshare-qqmodel:1.8.0' // 此处以jshare-qqmodel 1.6.0 版本为例具体版本请参考压缩包libs的jar包版本。
implementation 'cn.jiguang.sdk:jshare-wechatmodel:1.8.0'
// 此处以jshare-wechatmodel 1.6.0 版本为例具体版本请参考压缩包libs的jar包版本。
2022-10-31 17:44:02 +08:00
implementation 'cn.jiguang.sdk:jshare-sinamodel:1.8.0' // 此处以jshare-sinamodel 1.6.0 版本为例具体版本请参考压缩包libs的jar包版本。
implementation 'cn.jiguang.sdk:jcore:1.2.3'
implementation 'androidx.appcompat:appcompat:1.4.1'
2022-10-31 17:44:02 +08:00
}