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.
32 lines
1.1 KiB
32 lines
1.1 KiB
2 months ago
|
apply from: "../module.build.gradle"
|
||
|
apply plugin: 'org.jetbrains.kotlin.android'
|
||
|
|
||
|
android {
|
||
|
namespace 'com.snc.ble'
|
||
|
defaultConfig {
|
||
|
//如果是独立模块,则使用当前组件的包名
|
||
|
if (isModule.toBoolean()) {
|
||
|
namespace 'com.snc.ble'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
||
|
implementation 'com.google.android.material:material:1.10.0'
|
||
|
implementation 'androidx.activity:activity:1.8.0'
|
||
|
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')
|
||
|
}
|