You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
876 B
30 lines
876 B
apply from: "../module.build.gradle"
|
|
|
|
android {
|
|
namespace 'com.snc.mian'
|
|
defaultConfig {
|
|
//如果是独立模块,则使用当前组件的包名
|
|
if (isModule.toBoolean()) {
|
|
applicationId "com.snc.mian"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
|
|
kapt 'com.alibaba:arouter-compiler:1.5.2'
|
|
//组件独立运行时,宿主项目直接依赖基础库,避免编译错误
|
|
api project(':lib_base')
|
|
|
|
} |