Commit f6596ada by 罗翻

环信替换为新版本,解决兼容性问题

parent a5717da9
......@@ -20,87 +20,90 @@ android {
arguments = [moduleName: project.getName()]
}
}
}
signingConfigs {
release {
keyAlias 'keybigfish'
keyPassword '123456789'
storeFile file('../../app_key.jks')
storePassword '123456789'
ndk {
abiFilters 'x86', 'armeabi-v7a', 'arm64-v8a','armeabi'
}
}
buildTypes {
release {
signingConfig android.signingConfigs.release
minifyEnabled isReleaseMinify
shrinkResources isReleaseMinify //是否清理无用资源,依赖于minifyEnabled
zipAlignEnabled isReleaseMinify //是否启用zipAlign压缩
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfigs {
release {
keyAlias 'keybigfish'
keyPassword '123456789'
storeFile file('../../app_key.jks')
storePassword '123456789'
}
}
debug {
signingConfig android.signingConfigs.release
minifyEnabled isDebugMinify
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildTypes {
release {
signingConfig android.signingConfigs.release
minifyEnabled isReleaseMinify
shrinkResources isReleaseMinify //是否清理无用资源,依赖于minifyEnabled
zipAlignEnabled isReleaseMinify //是否启用zipAlign压缩
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
signingConfig android.signingConfigs.release
minifyEnabled isDebugMinify
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
assets.srcDirs = ['src/main/assets', 'src/main/assets/']
sourceSets {
main {
jniLibs.srcDirs = ['libs']
assets.srcDirs = ['src/main/assets', 'src/main/assets/']
}
}
}
aaptOptions {
cruncherEnabled = false
useNewCruncher = false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
aaptOptions {
cruncherEnabled = false
useNewCruncher = false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dataBinding {
enabled = true
}
dataBinding {
enabled = true
}
lintOptions {
abortOnError false
}
dexOptions {
preDexLibraries = false
lintOptions {
abortOnError false
}
dexOptions {
preDexLibraries = false
}
}
}
repositories {
flatDir {
dirs 'libs'
repositories {
flatDir {
dirs 'libs'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
//ARouter
annotationProcessor "com.alibaba:arouter-compiler:$arouter_compiler_version"
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
//ARouter
annotationProcessor "com.alibaba:arouter-compiler:$arouter_compiler_version"
if (isMessageModule.toBoolean()) {
compile project(':messageCenter')
}
if (isUserModule.toBoolean()) {
compile project(':userCenter')
}
if (isOrderModule.toBoolean()) {
compile project(':orderCenter')
}
if (isMessageModule.toBoolean()) {
compile project(':messageCenter')
}
if (isUserModule.toBoolean()) {
compile project(':userCenter')
}
if (isOrderModule.toBoolean()) {
compile project(':orderCenter')
}
// compile(name: 'orderCenter-debug', ext: 'aar')
// compile(name: 'userCenter-debug', ext: 'aar')
// compile(name: 'messageCenter-debug', ext: 'aar')
// compile(name: 'provider-debug', ext: 'aar')
// compile(name: 'baseSDK-debug', ext: 'aar')
}
}
}
\ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
android.useDeprecatedNdk=true
##模块化开关,单独调试时 false,作为模块 true
##用户模块
isUserModule=true
......@@ -7,4 +8,4 @@ isMessageModule=true
isOrderModule=true
##maven依赖
mavenMode=false
BASE_URL=http://47.94.101.239:3112
\ No newline at end of file
BASE_URL=http://47.94.101.239:3112
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment