Files
android-pda/noblelift/build.gradle
2026-03-18 11:15:10 +08:00

77 lines
2.7 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 31
defaultConfig {
applicationId "com.noblelift"
minSdkVersion 22
targetSdkVersion 30
versionCode 2011
versionName "2.0.11"
/* ndk {
abiFilters 'armeabi-v8a'
}*/
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
android.applicationVariants.all{ variant ->
variant.outputs.all{
def fileName = "update.apk";
outputFileName = fileName
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
viewBinding{
enabled = true
}
packagingOptions {
pickFirst 'lib/armeabi-v7a/libopencv_java3.so'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude: [])
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
testImplementation 'junit:junit:4.+'
implementation 'com.github.bumptech.glide:glide:4.+' // 请注意,版本号可能会有所不同,请检查最新版本
annotationProcessor 'com.github.bumptech.glide:compiler:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
//implementation 'org.litepal.guolindev:core:3.2.3'
// define a BOM and its version
implementation(platform("com.squareup.okhttp3:okhttp-bom:4.9.0"))
implementation 'com.afollestad.material-dialogs:commons:0.9.6.0'
// define any required OkHttp artifacts without version
implementation("com.squareup.okhttp3:okhttp")
implementation("com.squareup.okhttp3:logging-interceptor")
implementation group: 'org.ligboy.retrofit2', name: 'converter-fastjson-android', version: '2.1.0'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'com.tencent:mmkv-static:1.2.10'
implementation 'com.loopj.android:android-async-http:1.4.11'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation project(':libraries:photoview')
implementation project(':libraries:fast')
implementation project(':libraries:zxing')
implementation project(':projects:toyota-chengdu')
implementation ('com.google.firebase:firebase-messaging:11.0.4'){
exclude group:'androidx.legacy'
}
}