57 lines
1.7 KiB
Groovy
57 lines
1.7 KiB
Groovy
|
|
apply plugin: 'com.android.library'
|
||
|
|
|
||
|
|
android {
|
||
|
|
compileSdkVersion 30
|
||
|
|
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
minSdkVersion 24
|
||
|
|
targetSdkVersion 28
|
||
|
|
|
||
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
|
consumerProguardFiles 'consumer-rules.pro'
|
||
|
|
}
|
||
|
|
|
||
|
|
buildTypes {
|
||
|
|
release {
|
||
|
|
minifyEnabled false
|
||
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
|
}
|
||
|
|
demo{
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
buildFeatures{
|
||
|
|
dataBinding = true
|
||
|
|
}
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
|
}
|
||
|
|
namespace 'com.airkoon.base'
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
// implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
||
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
||
|
|
testImplementation 'junit:junit:4.12'
|
||
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
||
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||
|
|
//选图片控件
|
||
|
|
// api 'com.github.LuckSiege.PictureSelector:picture_library:v2.4.6'
|
||
|
|
api 'io.github.lucksiege:pictureselector:v2.4.6'
|
||
|
|
// api 'io.github.lucksiege:pictureselector:v3.10.6'
|
||
|
|
//glide
|
||
|
|
implementation 'com.github.bumptech.glide:glide:4.9.0'
|
||
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
|
||
|
|
|
||
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
||
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
||
|
|
//qmui
|
||
|
|
api 'com.qmuiteam:qmui:1.4.0'
|
||
|
|
|
||
|
|
implementation "androidx.activity:activity:1.2.0"
|
||
|
|
implementation "androidx.fragment:fragment:1.3.0"
|
||
|
|
}
|