2022-07-18 15:31:45 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'img-optimizer'
|
2024-06-20 14:02:15 +08:00
|
|
|
apply from: "../package_config.gradle"
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
android {
|
2024-07-13 10:37:37 +08:00
|
|
|
namespace "com.yunbao.main"
|
|
|
|
compileSdk rootProject.ext.android.compileSdkVersion
|
2022-07-18 15:31:45 +08:00
|
|
|
packagingOptions {
|
|
|
|
pickFirst "lib/armeabi/libyuvutils.so"
|
|
|
|
pickFirst "lib/arm64-v8a/libyuvutils.so"
|
|
|
|
pickFirst "lib/armeabi-v7a/libyuvutils.so"
|
|
|
|
pickFirst "lib/armeabi/libyuvtools.so"
|
|
|
|
pickFirst "lib/arm64-v8a/libyuvtools.so"
|
|
|
|
pickFirst "lib/armeabi-v7a/libyuvtools.so"
|
|
|
|
exclude "lib/arm64-v8a/libmmcv_api_handgesture.so"
|
|
|
|
exclude "lib/arm64-v8a/libmmcv_api_express.so"
|
|
|
|
exclude "lib/arm64-v8a/libMediaEncoder.so"
|
|
|
|
exclude "lib/arm64-v8a/libarcore_sdk_c.so"
|
|
|
|
exclude "lib/arm64-v8a/libmediadecoder.so"
|
|
|
|
exclude "lib/arm64-v8a/libMediaMuxer.so"
|
|
|
|
exclude "lib/arm64-v8a/libarcore_sdk_jni.so"
|
|
|
|
exclude "lib/arm64-v8a/libMediaUtils.so"
|
|
|
|
exclude "lib/arm64-v8a/libcosmosffmpeg.so"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion rootProject.ext.android.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
|
|
|
versionCode rootProject.ext.android.versionCode
|
|
|
|
versionName rootProject.ext.android.versionName
|
|
|
|
manifestPlaceholders = rootProject.ext.manifestPlaceholders
|
|
|
|
ndk {
|
2024-07-13 10:37:37 +08:00
|
|
|
// abiFilters "armeabi-v7a", "arm64-v8a","x86","x86_64"
|
|
|
|
if (rootProject.ext.manifestPlaceholders.isGooglePlay == 0) {
|
|
|
|
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
|
|
|
|
} else {
|
|
|
|
abiFilters "armeabi-v7a", "arm64-v8a"
|
|
|
|
}
|
2022-07-18 15:31:45 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
arguments = [AROUTER_MODULE_NAME: project.getName()]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
aaptOptions {
|
|
|
|
cruncherEnabled = false
|
|
|
|
useNewCruncher = false
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
2024-08-30 10:28:57 +08:00
|
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
|
|
targetCompatibility JavaVersion.VERSION_17
|
2022-07-18 15:31:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
flatDir {
|
|
|
|
dirs 'libs', '../libs'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
2022-08-05 18:16:48 +08:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2022-09-26 17:18:07 +08:00
|
|
|
compileOnly files('../libs/beautysdk-202202241203.aar')
|
2022-10-10 16:10:15 +08:00
|
|
|
compileOnly files('../libs/svgaplayer-release-v1.2.1.aar')
|
2022-07-18 15:31:45 +08:00
|
|
|
//直播
|
|
|
|
api project(':live')
|
|
|
|
//短视频
|
|
|
|
api project(':video')
|
|
|
|
api project(':common')
|
2024-04-18 09:47:38 +08:00
|
|
|
api project(':lib_faceunity')//新娱美颜
|
2023-02-08 16:01:35 +08:00
|
|
|
api project(':Share')//分享
|
2024-07-13 09:28:02 +08:00
|
|
|
// api project(':SVGAlibrary')//分享
|
2022-08-20 14:48:09 +08:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.0'
|
|
|
|
implementation 'com.google.android.material:material:1.4.0'
|
2022-07-18 15:31:45 +08:00
|
|
|
annotationProcessor rootProject.ext.dependencies["arouter-compiler"]
|
|
|
|
api files('libs/OpenInstall_v2.3.0.jar')
|
|
|
|
implementation project(path: ':lib_country_code')
|
|
|
|
//抽屉菜单
|
|
|
|
implementation 'com.justkiddingbaby:slidemenu:1.3.0'
|
2022-09-05 14:34:18 +08:00
|
|
|
//引导层
|
|
|
|
implementation 'com.binioter:guideview:1.0.0'
|
2022-11-02 16:53:28 +08:00
|
|
|
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
|
2022-12-01 16:15:16 +08:00
|
|
|
|
2022-07-18 15:31:45 +08:00
|
|
|
}
|