xz_cultural/app/build.gradle
2022-11-03 15:54:12 +08:00

84 lines
3.7 KiB
Groovy
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

apply plugin: 'com.android.application'
android {
signingConfigs {
release {
storeFile file('/Users/adam/Documents/work/tengshi.jks')
storePassword 'aaa111!!!'
keyAlias = 'tengshi'
keyPassword 'aaa111!!!'
}
debug {
storeFile file('/Users/adam/Documents/work/tengshi.jks')
storePassword 'aaa111!!!'
keyAlias = 'tengshi'
keyPassword 'aaa111!!!'
}
}
compileSdkVersion rootProject.ext.gCompileSdkVersion
defaultConfig {
applicationId "com.tengshisoft.cultural"
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.
JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
TENCENT_APPID: "101880285",//腾讯开放平台注册应用得到的appId
]
}
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(':cm_utils')
implementation project(':camera')
// implementation files('libs/tbs.jar')
implementation files('libs/BaiduLBS_Android.jar')
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
//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')//地图
}
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包版本。
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.1.0'
}