plugins {
|
id 'com.android.application'
|
}
|
|
android {
|
|
useLibrary 'org.apache.http.legacy'
|
|
compileSdk 31
|
|
defaultConfig {
|
applicationId "com.demo.android"
|
minSdk 21
|
targetSdk 29
|
versionCode 1
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
multiDexEnabled true
|
}
|
|
buildTypes {
|
release {
|
minifyEnabled false
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
}
|
}
|
compileOptions {
|
sourceCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
}
|
}
|
|
dependencies {
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
implementation 'com.google.android.material:material:1.3.0'
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
implementation project(path: ':library-common')
|
implementation project(path: ':library-dp')
|
implementation project(path: ':library-ad')
|
implementation project(path: ':library-ec')
|
implementation project(path: ':library-login')
|
implementation project(path: ':library-flutter')
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
implementation 'org.apache.httpcomponents:httpcore:4.4.2'
|
|
//图片加载库
|
implementation 'com.github.bumptech.glide:glide:4.12.0'
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
|
|
|
//indicator
|
implementation 'com.github.hackware1993:MagicIndicator:1.7.0'
|
|
|
implementation files('libs/umeng-apm-armeabi-v1.5.2.aar')
|
implementation files('libs/umeng-common-9.4.4.jar')
|
implementation files('libs/umeng-asms-armeabi-v1.4.1.aar')
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
implementation 'com.google.android.material:material:1.3.0'
|
}
|