iFish7/iFish7/build.gradle

190 lines
6.9 KiB
Groovy
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'
apply plugin: 'org.jetbrains.kotlin.android'
gradle.ext {
pushVersion = '3.8.6'
thirdPushVersion = '3.8.6'
}
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('../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 project.versionCode.toInteger()
versionName project.versionName
multiDexEnabled true
ndk {
abiFilters 'armeabi', 'arm64-v8a'
}
manifestPlaceholders = [
//从 3.1.2.0 版本开始APPID 占位符从 GETUI_APP_ID 切换为 GETUI_APPID
//后续所有产品的 APPID 均统一配置为 GETUI_APPID 占位符
GETUI_APPID : "C2ZpsHzexi5UKuUKyW0Ig",
]
}
allprojects {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
buildTypes {
debug {
minifyEnabled false
signingConfig signingConfigs.debug
}
release {
minifyEnabled false
}
}
dexOptions {
javaMaxHeapSize '4g'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
repositories {
flatDir {
dirs 'libs' //aar的目录地址
}
}
dependencies {
implementation files('libs/xUtils-2.6.14.jar')
implementation files('libs/commons-logging-1.1.1.jar')
implementation 'com.google.code.gson:gson:2.10.1'//2.8.9
//bugly
implementation files('libs/commons-io-1.4.jar')
implementation files('libs/TalkingDataAnalytics_V2.1.37.jar')
implementation 'de.greenrobot:eventbus:2.4.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.squareup.okhttp3:okhttp:3.9.0' //3.9.0
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
implementation 'com.google.zxing:core:3.5.1'//3.3.0
//云信聊天
implementation 'androidx.multidex:multidex:2.0.1'
//自动滚动ViewPager
implementation 'com.jude:rollviewpager:1.4.5'
//拖拽小红点控件
implementation project(':BageView')
//友盟微社区
implementation 'jp.wasabeef:picasso-transformations:2.1.0'
//Picasso 显示圆形图片
implementation 'com.google.android.material:material:1.0.0'//1.0.0
// implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.github.bumptech.glide:glide:4.15.1'//4.11.0
implementation 'androidx.core:core-ktx:1.10.1'//1.10.1
// implementation 'androidx.activity:activity:1.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'//4.11.0
//Glide
implementation 'cn.bingoogolapple:bga-refreshlayout:1.1.7@aar'
//下拉刷新
implementation project(':JCVideo_Library')
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
implementation files('libs/mina-core-2.0.17.jar')
implementation files('libs/fastjson-1.1.34.android.jar')
// implementation 'com.p2p.core:p2p-core:0.4.4.9'
implementation(name: 'p2p-core-release', ext: 'aar')
implementation(name: 'pano-release', ext: 'aar')
implementation(name: 'soundwave-release', ext: 'aar')
implementation 'com.libhttp:libhttp:v0.5.5'
/*implementation 'com.jwkj:UDPUtilsLib:v1.1.1'*/
//UDP基础库不可少
/*implementation 'com.jwkj:udpsender:v2.0.2'*/
implementation files('libs/javabase64.jar')
//implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
implementation files('libs/httpcore-4.4.13.jar')
implementation files('libs/httpclient-4.5.12.jar')
implementation 'com.zhy:autolayout:1.4.5'
// implementation 'com.tencent.bugly:crashreport:latest.release'
// implementation 'com.tencent.bugly:nativecrashreport:latest.release'
//UDP功能模块库
//UDP基础库不可少
implementation 'com.jwkj:udpsender:v2.0.2'
implementation(name: 'UDPUtilsLib-v1.1.1', ext: 'aar')
// implementation 'com.github.jwkj:SoundWaveSender:v2.0.2'
//摇杆空间
implementation 'com.github.kongqw:AndroidRocker:1.0.1'
implementation 'com.aliyun.ams:alicloud-android-httpdns:2.1.1'
implementation 'io.reactivex:rxandroid:1.2.1'
implementation 'io.reactivex:rxjava:1.1.6'
//阿里云推送相关
api "com.aliyun.ams:alicloud-android-push:${gradle.pushVersion}"
api "com.aliyun.ams:alicloud-android-third-push:${gradle.thirdPushVersion}"
api "com.aliyun.ams:alicloud-android-third-push-xiaomi:3.8.6.1"
api "com.aliyun.ams:alicloud-android-third-push-huawei:${gradle.thirdPushVersion}"
// 友盟基础组件库所有友盟业务SDK都依赖基础组件库
implementation 'com.umeng.umsdk:common:9.6.6'// (必选)
implementation 'com.umeng.umsdk:asms:1.8.0'// 必选
implementation 'com.umeng.umsdk:share-core:7.3.3'//分享核心库,必选
//在线依赖目前支持QQ、微信、新浪微博、支付宝、钉钉、抖音若需支持其他平台请选择手动下载SDK
implementation 'com.umeng.umsdk:share-wx:7.3.3' //微信完整版
implementation 'com.tencent.mm.opensdk:wechat-sdk-android:6.8.24'//微信官方依赖库
implementation 'androidx.appcompat:appcompat:1.6.1'//1.3.0
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'//2.0.4
//友盟分享
// implementation files('libs/umeng_social_sdk.jar')
implementation 'com.tencent:mmkv:2.0.0'
implementation("com.github.bumptech.glide:okhttp3-integration:4.11.0" )
implementation 'com.github.Jasonchenlijian:FastBle:2.4.0'
//
// annotationProcessor 'com.github.bumptech.glide:compiler:3.7.0'
implementation 'com.getui:gtsdk:3.3.7.0' //个推SDK
implementation 'com.getui:gtc:3.2.16.0' //个推核心组件
implementation 'io.github.lucksiege:pictureselector:v3.11.2'
// 图片压缩 (按需引入)
implementation 'io.github.lucksiege:compress:v3.11.2'
// 图片裁剪 (按需引入)
implementation 'io.github.lucksiege:ucrop:v3.11.2'
}