|
|
apply plugin:'com.android.application'
|
|
|
|
|
|
android {
|
|
|
compileSdkVersion 30
|
|
|
buildToolsVersion "30.0.2"
|
|
|
|
|
|
defaultConfig {
|
|
|
applicationId "com.app.projectfirst"
|
|
|
minSdkVersion 16
|
|
|
targetSdkVersion 30
|
|
|
versionCode 1
|
|
|
versionName "1.0"
|
|
|
multiDexEnabled true
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
ndk {
|
|
|
//设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so)
|
|
|
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86","x86_64"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
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 'androidx.constraintlayout:constraintlayout:2.0.4'
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
implementation files('libs\\commons-lang3-3.7.jar')
|
|
|
implementation files('libs\\AMap3DMap_7.9.1_AMapNavi_7.9.1_AMapSearch_7.9.0_AMapLocation_5.3.1_20210414.jar')
|
|
|
implementation 'com.android.support:design:30.0.2'
|
|
|
implementation 'com.android.support:recyclerview-v7:30.0.2'
|
|
|
|
|
|
implementation 'com.android.support:multidex:1.0.3'
|
|
|
//网络请求
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.14.2'
|
|
|
implementation 'com.squareup.okio:okio:1.17.4'
|
|
|
implementation 'cz.msebera.android:httpclient:4.4.1.1'
|
|
|
implementation 'com.loopj.android:android-async-http:1.4.9'
|
|
|
//图片加载
|
|
|
implementation 'com.github.bumptech.glide:glide:4.6.1'
|
|
|
annotationProcessor 'com.github.bumptech.glide:glide:4.6.1'
|
|
|
implementation 'com.youth.banner:banner:1.4.10' //最新版本
|
|
|
//依赖注入
|
|
|
implementation 'com.jakewharton:butterknife:10.2.1'
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
|
|
|
//JSON于对象转换
|
|
|
implementation 'com.google.code.gson:gson:2.7'
|
|
|
//弹窗
|
|
|
implementation 'com.github.razerdp:BasePopup:2.1.5'
|
|
|
//运行时权限管理
|
|
|
implementation 'pub.devrel:easypermissions:2.0.1'
|
|
|
//时间三级选择
|
|
|
implementation 'com.contrarywind:Android-PickerView:4.1.9'
|
|
|
//图片缩放
|
|
|
implementation 'me.panpf:sketch:2.7.1'
|
|
|
implementation 'me.panpf:sketch-gif:2.7.1'
|
|
|
//悬浮菜单按钮
|
|
|
implementation 'com.github.clans:fab:1.6.4'
|
|
|
//视频播放器
|
|
|
implementation 'com.github.dueeeke.dkplayer:dkplayer-java:3.2.6'
|
|
|
implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:3.2.6'
|
|
|
|
|
|
implementation 'com.github.ome450901:SimpleRatingBar:1.5.1'
|
|
|
implementation 'me.zhanghai.android.materialratingbar:library:1.4.0'
|
|
|
}
|
|
|
|