Files
FindMaimaiUltra/app/build.gradle
Spaso1 4f68c195d9 Pixiv下载功能
key 安全码绑定优化
2025-04-09 22:22:45 +08:00

78 lines
2.9 KiB
Groovy

plugins {
id 'com.android.application'
}
android {
namespace 'org.astral.findmaimaiultra'
compileSdk 34
defaultConfig {
applicationId "org.astral.findmaimaiultra"
minSdk 29
targetSdk 34
versionCode 1
versionName "1.6.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
// 自定义打包名称
android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "FindMaiMaiDXPhone_${buildType.name}_v${versionName}.apk"
}
}
buildFeatures {
viewBinding true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
defaultConfig {
ndk {
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86","x86_64"
}
}
}
dependencies {
implementation 'com.google.android.gms:play-services-location:21.0.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
implementation 'com.otaliastudios:zoomlayout:1.9.0'
implementation 'androidx.work:work-runtime:2.7.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
implementation 'com.google.code.gson:gson:2.8.8'
implementation 'com.github.bumptech.glide:glide:4.12.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
implementation 'org.nanohttpd:nanohttpd:2.2.0'
implementation 'com.baidu.lbsyun:BaiduMapSDK_Map:7.6.3'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1'
implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
implementation 'com.github.yalantis:ucrop:2.2.8'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.navigation:navigation-fragment:2.5.3'
implementation 'androidx.navigation:navigation-ui:2.5.3'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation 'jp.wasabeef:glide-transformations:4.3.0'
}