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.
46 lines
1.5 KiB
46 lines
1.5 KiB
7 months ago
|
apply plugin: 'com.android.library'
|
||
|
|
||
|
|
||
|
android {
|
||
|
namespace 'com.techscan.moduledb'
|
||
|
compileSdk rootProject.ext.version.compileSdkVersion
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdk rootProject.ext.version.minSdkVersion
|
||
|
targetSdk rootProject.ext.version.targetSdkVersion
|
||
|
versionCode rootProject.ext.version.versionCode
|
||
|
versionName rootProject.ext.version.versionName
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
//minifyEnabled true //是否开启混淆,其实子模块中这个已经没有作用了,由主模块控制
|
||
|
consumerProguardFiles 'proguard-rules.pro' //子模块要用这个命令才能生效
|
||
|
}
|
||
|
debug {
|
||
|
//测试混淆用
|
||
|
consumerProguardFiles 'proguard-rules.pro' //子模块要用这个命令才能生效
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_17
|
||
|
targetCompatibility JavaVersion.VERSION_17
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation(rootProject.ext.libsDependency.appcompat)
|
||
|
implementation(rootProject.ext.libsDependency.material)
|
||
|
implementation(rootProject.ext.libsDependency.constraintlayout)
|
||
|
implementation(rootProject.ext.libsDependency.junit)
|
||
|
implementation(rootProject.ext.libsDependency.ext_junit)
|
||
|
implementation(rootProject.ext.libsDependency.espresso_core)
|
||
|
api(rootProject.ext.libsDependency.fastjson2)
|
||
|
api(rootProject.ext.libsDependency.pictureselector)
|
||
|
api(rootProject.ext.libsDependency.litepal)
|
||
|
|
||
|
}
|