156 lines
5.0 KiB
Groovy
156 lines
5.0 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
|
|
android {
|
|
packagingOptions {
|
|
exclude 'META-INF/DEPENDENCIES.txt'
|
|
exclude 'META-INF/LICENSE.txt'
|
|
exclude 'META-INF/NOTICE.txt'
|
|
exclude 'META-INF/NOTICE'
|
|
exclude 'META-INF/LICENSE'
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
exclude 'META-INF/notice.txt'
|
|
exclude 'META-INF/license.txt'
|
|
exclude 'META-INF/dependencies.txt'
|
|
exclude 'META-INF/LGPL2.1'
|
|
exclude 'META-INF/rxjava.properties'
|
|
}
|
|
|
|
signingConfigs {
|
|
debug {
|
|
keyAlias 'android.keystore'
|
|
keyPassword 'ifish7'
|
|
storeFile file('/Users/zau18/Desktop/Emobile7keys/ifish7.keystore')
|
|
storePassword 'ifish7'
|
|
}
|
|
}
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
abortOnError false
|
|
}
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
applicationId "com.ifish.activity"
|
|
versionCode 40
|
|
versionName '4.10.0'
|
|
multiDexEnabled true
|
|
ndk {
|
|
abiFilters 'armeabi','arm64-v8a'
|
|
}
|
|
}
|
|
allprojects {
|
|
sourceCompatibility = 1.7
|
|
targetCompatibility = 1.7
|
|
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled false
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
release {
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
dexOptions {
|
|
javaMaxHeapSize '4g'
|
|
}
|
|
|
|
}
|
|
repositories {
|
|
flatDir {
|
|
dirs 'libs' //aar的目录地址
|
|
}
|
|
}
|
|
|
|
configurations.all {
|
|
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
|
|
def requested = details.requested
|
|
if (requested.group == 'com.android.support') {
|
|
if (!requested.name.startsWith("multidex")) {
|
|
details.useVersion '26.+'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation files('libs/xUtils-2.6.14.jar')
|
|
implementation files('libs/commons-logging-1.1.1.jar')
|
|
//技威平台
|
|
compile project(':umeng_sharesdk_library')
|
|
//友盟分享
|
|
compile 'com.google.code.gson:gson:2.4'
|
|
//bugly
|
|
compile files('libs/commons-io-1.4.jar')
|
|
// compile files('libs/locSDK_6.13.jar')
|
|
compile files('libs/BaiduLBS_Android.jar')
|
|
compile files('libs/TalkingDataAnalytics_V2.1.37.jar')
|
|
compile files('libs/umeng_social_sdk.jar')
|
|
compile 'de.greenrobot:eventbus:2.4.0'
|
|
compile 'com.squareup.picasso:picasso:2.5.2'
|
|
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
|
|
compile 'com.google.zxing:core:3.3.0'
|
|
//云信聊天
|
|
compile 'com.android.support:multidex:1.0.1'
|
|
compile files('libs/AMap_Services_V2.3.1.jar')
|
|
//定位
|
|
compile files('libs/Android_2DMap_V2.4.0.jar')
|
|
//地图
|
|
compile files('libs/MobCommons-2016.1012.1447.jar')
|
|
compile files('libs/MobTools-2016.1012.1447.jar')
|
|
compile name: 'SMSSDK-2.1.2', ext: 'aar'
|
|
//MOB短信平台
|
|
compile 'com.jude:rollviewpager:1.4.5'
|
|
//自动滚动ViewPager
|
|
compile project(':BageView')
|
|
//拖拽小红点控件
|
|
//友盟微社区
|
|
compile 'jp.wasabeef:picasso-transformations:2.1.0'
|
|
//Picasso 显示圆形图片
|
|
compile 'com.android.support:design:23.3.0'
|
|
compile 'com.github.bumptech.glide:glide:3.7.0'
|
|
//Glide
|
|
compile 'cn.bingoogolapple:bga-refreshlayout:1.1.7@aar'
|
|
//下拉刷新
|
|
compile project(':JCVideo_Library')
|
|
compile 'com.github.PhilJay:MPAndroidChart:v3.0.3'
|
|
compile files('libs/mina-core-2.0.17.jar')
|
|
compile files('libs/fastjson-1.1.34.android.jar')
|
|
compile 'com.aliyun.ams:alicloud-android-push:3.1.9.1'
|
|
compile(name: 'alicloud-android-third-push-3.0.6', ext: 'aar')
|
|
// compile 'com.p2p.core:p2p-core:0.4.4.9'
|
|
compile(name: 'p2p-core-release', ext: 'aar')
|
|
compile(name: 'pano-release', ext: 'aar')
|
|
compile(name: 'soundwave-release', ext: 'aar')
|
|
compile 'com.libhttp:libhttp:v0.5.5'
|
|
/*compile 'com.jwkj:UDPUtilsLib:v1.1.1'*/
|
|
//UDP基础库(不可少)
|
|
/*compile 'com.jwkj:udpsender:v2.0.2'*/
|
|
compile files('libs/javabase64.jar')
|
|
// compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
|
|
compile files('libs/httpcore-4.4.13.jar')
|
|
compile files('libs/httpclient-4.5.12.jar')
|
|
compile 'com.zhy:autolayout:1.4.5'
|
|
compile 'com.tencent.bugly:crashreport:latest.release'
|
|
compile 'com.tencent.bugly:nativecrashreport:latest.release'
|
|
|
|
//UDP功能模块库
|
|
//UDP基础库(不可少)
|
|
compile 'com.jwkj:udpsender:v2.0.2'
|
|
compile(name: 'UDPUtilsLib-v1.1.1', ext: 'aar')
|
|
// compile 'com.github.jwkj:SoundWaveSender:v2.0.2'
|
|
|
|
//摇杆空间
|
|
compile 'com.github.kongqw:AndroidRocker:1.0.1'
|
|
|
|
compile 'com.aliyun.ams:alicloud-android-httpdns:2.1.1'
|
|
|
|
compile 'io.reactivex:rxandroid:1.2.1'
|
|
compile 'io.reactivex:rxjava:1.1.6'
|
|
|
|
// implementation 'com.github.EspressifApp:lib-esptouch-v2-android:2.2.1'
|
|
}
|
|
//apply plugin: 'com.getkeepsafe.dexcount' |