41 lines
1.1 KiB
Groovy
41 lines
1.1 KiB
Groovy
apply plugin: 'com.android.library'
|
||
|
||
android {
|
||
compileSdkVersion 29
|
||
defaultConfig {
|
||
minSdkVersion 24
|
||
targetSdkVersion 29
|
||
versionCode 27
|
||
versionName "2.4.3"
|
||
}
|
||
|
||
buildTypes {
|
||
iPlay50PDebug {}
|
||
iPlay50PRelease {}
|
||
MTKT1102Debug {}
|
||
MTKT1102Release {}
|
||
U807Debug {}
|
||
U807Release {}
|
||
iPlay50SEDebug {}
|
||
iPlay50SERelease {}
|
||
debug {}
|
||
release {}
|
||
}
|
||
|
||
// 设置JDK1.8
|
||
compileOptions {
|
||
sourceCompatibility JavaVersion.VERSION_1_8
|
||
targetCompatibility JavaVersion.VERSION_1_8
|
||
}
|
||
}
|
||
|
||
dependencies {
|
||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
||
implementation 'androidx.transition:transition:1.4.1'
|
||
implementation 'androidx.cardview:cardview:1.0.0'
|
||
// 为了兼容大部分用户仅依赖低版本,本库仅使用GifDrawable类型判断
|
||
implementation 'com.github.bumptech.glide:glide:3.3.0'
|
||
}
|