语圈基本完成
2、个人主页完成
This commit is contained in:
@@ -2,7 +2,13 @@ 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
|
||||
@@ -14,6 +20,16 @@ android {
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
javaCompileOptions {
|
||||
annotationProcessorOptions {
|
||||
arguments += [
|
||||
AROUTER_GENERATE_DOC: "enable",
|
||||
// 显式指定模块名
|
||||
AROUTER_MODULE_NAME: project.name
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
@@ -43,4 +59,9 @@ dependencies {
|
||||
|
||||
implementation(project(':moduleUtil'))
|
||||
implementation(project(':moduletablayout'))
|
||||
}
|
||||
|
||||
implementation 'com.alibaba:arouter-api:1.5.2'
|
||||
//annotationProcessor
|
||||
annotationProcessor 'com.alibaba:arouter-compiler:1.5.2'
|
||||
}
|
||||
apply plugin: 'com.alibaba.arouter' // ⚠️ 添加这一行
|
||||
Reference in New Issue
Block a user