Files
babelive_and/app/build.gradle
2026-02-06 14:55:21 +08:00

168 lines
6.0 KiB
Groovy

plugins {
id 'com.android.application'
id 'kotlin-android'
}
android {
compileSdk 31
defaultConfig {
applicationId "com.xyz.babelive"
minSdkVersion 24
targetSdk 30
versionCode 100
versionName "1.0.0"
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: 'babelive']
}
}
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// configurations.all {
// resolutionStrategy { force 'androidx.core:core-ktx:1.6.0' }
// }
ndk {
abiFilters "armeabi-v7a", 'arm64-v8a'/**, 'x86', 'x86_64', 'arm64-v8a'*/
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
useLibrary 'org.apache.http.legacy'
//启用DataBinding
buildFeatures{
dataBinding = true
// for view binding :
// viewBinding = true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/notice.txt'
exclude 'META-INF/license.txt'
// 解决animoji和queen库so重复问题
pickFirst '**/libc++_shared.so'
pickFirst '**/libMNN.so'
pickFirst '**/libMNN_CL.so'
pickFirst '**/libalivcffmpeg.so'
}
signingConfigs {
debug {
storeFile file('videomark.jks')
storePassword "123456"
keyAlias 'videomark'
keyPassword "123456"
}
release {
storeFile file('videomark.jks')
storePassword "123456"
keyAlias 'videomark'
keyPassword "123456"
}
}
lint {
baseline = file("lint-baseline.xml")
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
testImplementation "junit:junit:4.13.1"
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
//viewmode需要引入的依赖 livedate 之类的就依赖他了
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
implementation 'androidx.multidex:multidex:2.0.1'
implementation project(path: ':basicLib')
// //完整版引入
// implementation 'io.github.carguo:gsyvideoplayer:11.3.0'
// //是否需要AliPlayer模式
// implementation 'io.github.carguo:gsyvideoplayer-aliplay:11.3.0'
implementation "androidx.fragment:fragment-ktx:1.4.0"
implementation "androidx.core:core-ktx:1.3.2"
// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
// implementation 'com.burhanrashid52:photoeditor:2.0.0'
api files('libs\\tbs_sdk_thirdapp_v4.3.0.386_44286_20230210.jar')
implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.6.0'
// api 'com.github.yalantis:ucrop:2.2.10'
implementation 'com.github.PratikVekariya4445:FFmpegAndroid:1.0'
implementation 'io.reactivex:rxjava:1.3.0'
implementation 'io.reactivex:rxandroid:1.2.1'
//banner图依赖
implementation 'com.youth.banner:banner:2.1.0'
// okhttp 3
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
implementation "com.github.zjupure:webpdecoder:2.0.4.11.0"
implementation 'com.github.lzyzsd:circleprogress:1.2.1'
implementation 'com.github.Hitomis:transferee:1.6.1'
// 添加 Glide 图片加载器
implementation 'com.github.Hitomis.transferee:GlideImageLoader:1.6.1'
implementation 'com.gyf.immersionbar:immersionbar:2.3.3'
implementation 'com.github.iwgang:simplifyspan:2.1'
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.8.0'
implementation 'org.greenrobot:eventbus:3.1.1'
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
api 'com.github.getActivity:XXPermissions:18.5'
implementation 'com.journeyapps:zxing-android-embedded:4.2.0'
//以下3个 下拉刷新和加载更多依赖
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1'
//核心必须依赖
implementation 'com.scwang.smart:refresh-header-classics:2.0.1'
//经典刷新头
implementation 'com.scwang.smart:refresh-footer-classics:2.0.1'
implementation 'com.scwang.smart:refresh-footer-ball:2.0.1'
// implementation 'com.alibaba:arouter-api:1.5.2'
// annotationProcessor 'com.alibaba:arouter-compiler:1.5.2'
implementation 'com.sunfusheng:marqueeview:1.3.3'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
implementation 'com.tencent.bugly:crashreport:latest.release'
implementation 'com.caverock:androidsvg-aar:1.4' // 主流的 SVG 解析库
api "com.github.NaikSoftware:StompProtocolAndroid:1.6.6"
// implementation 'com.aliyun.sdk.android:AliyunPlayer:7.11.0-full'
// implementation ('com.aliyun.sdk.android:AliyunPlayer:7.11.0-full') {
// exclude group: "com.alivc.pusher", module: "AlivcLivePusher"
// }
implementation 'com.alibaba:arouter-api:1.5.2'
annotationProcessor 'com.alibaba:arouter-compiler:1.5.2'
// implementation project(path: ':liveApp')
implementation project(':LiveBasic:live_push')
implementation project(':LiveBasic:live_pull')
implementation project(':LiveBasic:live_pull_rts')
implementation project(':LiveBasic:live_screencap')
implementation project(':LiveInteractive:live_pk')
implementation project(':LiveInteractive:live_interactive')
implementation project(':LiveInteractive:live_barestream')
}