2025-09-22 18:56:13 +08:00
|
|
|
plugins {
|
|
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
|
alias(libs.plugins.kotlin.android)
|
|
|
|
|
}
|
|
|
|
|
//configurations.all {
|
|
|
|
|
// // 解决注解处理器冲突
|
|
|
|
|
// resolutionStrategy {
|
|
|
|
|
// force 'com.alibaba:arouter-compiler:1.5.2'
|
|
|
|
|
// force 'com.google.auto.service:auto-service:1.0'
|
|
|
|
|
// }
|
|
|
|
|
//}
|
|
|
|
|
android {
|
|
|
|
|
namespace 'com.example.modulevocal'
|
|
|
|
|
compileSdk 35
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
minSdk 24
|
|
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
javaCompileOptions {
|
|
|
|
|
annotationProcessorOptions {
|
|
|
|
|
arguments += [
|
|
|
|
|
AROUTER_GENERATE_DOC: "enable",
|
|
|
|
|
// 显式指定模块名
|
|
|
|
|
AROUTER_MODULE_NAME: project.name
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
|
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
|
|
|
}
|
|
|
|
|
dataBinding {
|
|
|
|
|
enable = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
|
|
implementation libs.appcompat
|
|
|
|
|
implementation libs.material
|
|
|
|
|
implementation libs.activity
|
|
|
|
|
implementation libs.constraintlayout
|
|
|
|
|
testImplementation libs.junit
|
|
|
|
|
androidTestImplementation libs.ext.junit
|
|
|
|
|
androidTestImplementation libs.espresso.core
|
|
|
|
|
|
|
|
|
|
implementation(project(':moduleUtil'))
|
|
|
|
|
implementation(project(':moduletablayout'))
|
|
|
|
|
|
|
|
|
|
implementation 'com.alibaba:arouter-api:1.5.2'
|
|
|
|
|
//annotationProcessor
|
|
|
|
|
annotationProcessor 'com.alibaba:arouter-compiler:1.5.2'
|
|
|
|
|
|
2025-10-10 09:10:42 +08:00
|
|
|
implementation files('libs/WbCloudFaceLiveSdk-face-v6.6.2-8e4718fc.aar')
|
|
|
|
|
implementation files('libs/WbCloudNormal-v5.1.10-4e3e198.aar')
|
|
|
|
|
|
2025-09-22 18:56:13 +08:00
|
|
|
}
|
|
|
|
|
apply plugin: 'com.alibaba.arouter' // ⚠️ 添加这一行
|