iFish7/iFish7/build.gradle

155 lines
5.7 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 '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:4.15.1'//4.11.0
implementation 'androidx.core:core-ktx:1.10.1'//1.10.1
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(name: 'p2p-core-release', ext: 'aar')
// implementation(name: 'pano-release', ext: 'aar') // jjia
implementation(name: 'soundwave-release', ext: 'aar')
implementation 'com.libhttp:libhttp:v0.5.5'
implementation files('libs/javabase64.jar')
implementation files('libs/httpcore-4.4.13.jar')
implementation files('libs/httpclient-4.5.12.jar')
implementation 'com.zhy:autolayout:1.4.5'
//UDP功能模块库
//UDP基础库不可少
implementation 'com.jwkj:udpsender:v2.0.2'
implementation(name: 'UDPUtilsLib-v1.1.1', ext: 'aar')
//摇杆空间
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}"
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.1.4'//2.0.4
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'
}