jncultural/app/build.gradle

82 lines
3.5 KiB
Groovy
Raw Normal View History

2020-05-27 13:32:22 +08:00
apply plugin: 'com.android.application'
android {
2020-07-14 17:22:58 +08:00
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!!!'
}
}
2020-05-27 13:32:22 +08:00
compileSdkVersion rootProject.ext.gCompileSdkVersion
defaultConfig {
2022-02-09 11:29:14 +08:00
applicationId "com.tengshisoft.jncultural"
2020-05-27 13:32:22 +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"
}
2020-07-14 17:22:58 +08:00
manifestPlaceholders = [
2022-02-09 11:29:14 +08:00
JSHARE_PKGNAME : "com.tengshisoft.jncultural",
2020-07-14 17:22:58 +08:00
JPUSH_APPKEY : "9575fdffe323b4febdd385dd", //极光控制台创建应用得到的AppKey.
JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
TENCENT_APPID: "101880285",//腾讯开放平台注册应用得到的appId
]
2020-05-27 13:32:22 +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
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':cm_utils')
implementation project(':camera')
2020-07-30 10:33:55 +08:00
// implementation files('libs/tbs.jar')
2020-05-27 13:32:22 +08:00
implementation files('libs/BaiduLBS_Android.jar')
2020-07-14 17:22:58 +08:00
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
2020-05-27 13:32:22 +08:00
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'
2020-06-08 10:09:08 +08:00
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'
2020-07-14 17:22:58 +08:00
//分享
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'
2020-05-27 13:32:22 +08:00
}