Files
yusheng-android/MainModule/build.gradle

77 lines
1.9 KiB
Groovy
Raw Normal View History

2025-10-20 10:16:44 +08:00
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.android)
}
android {
namespace 'com.xscm.modulemain'
compileSdk 35
defaultConfig {
minSdk 24
targetSdk 35
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
arguments = [
AROUTER_MODULE_NAME: project.getName()
]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
dataBinding {
enabled = true
}
kotlinOptions {
2025-10-24 17:52:11 +08:00
jvmTarget = '11'
2025-10-20 10:16:44 +08:00
}
2025-10-28 16:56:13 +08:00
buildFeatures {
viewBinding true
}
2025-10-20 10:16:44 +08:00
}
dependencies {
implementation libs.appcompat
implementation libs.material
implementation libs.activity
implementation libs.constraintlayout
2025-10-28 16:56:13 +08:00
// implementation project(':modulevoice')
// implementation project(':modulecircle')
// implementation project(':modulevocal')
// implementation project(':modulenews')
// implementation project(':moduleroom')
2025-10-20 10:16:44 +08:00
testImplementation libs.junit
androidTestImplementation libs.ext.junit
androidTestImplementation libs.espresso.core
2025-11-07 09:22:39 +08:00
implementation project(':BaseModule')
2025-10-20 10:16:44 +08:00
implementation (libs.arouter.api.v150)
//annotationProcessor
annotationProcessor libs.arouter.compiler
2025-10-24 17:52:11 +08:00
implementation libs.permissionx
2025-10-28 16:56:13 +08:00
implementation files('libs/WbCloudFaceLiveSdk-face-v6.6.2-8e4718fc.aar')
implementation files('libs/WbCloudNormal-v5.1.10-4e3e198.aar')
api project(':tuiconversation')
api project(':tuichat')
2025-11-07 09:22:39 +08:00
api project(':BaseModule')
2025-10-28 16:56:13 +08:00
2025-10-20 10:16:44 +08:00
}
apply plugin: 'com.alibaba.arouter' // ⚠️ 添加这一行