Cloud_music/app/build.gradle

67 lines
1.9 KiB
Groovy
Raw Normal View History

2023-10-21 14:07:35 +00:00
plugins {
id 'com.android.application'
}
android {
signingConfigs {
debug {
storeFile file('../muqing.jks')
storePassword 'muqing153'
keyAlias 'muqing'
keyPassword 'muqing153'
}
}
2023-10-21 14:07:35 +00:00
namespace 'com.muqingbfq'
compileSdk 34
2023-10-21 14:07:35 +00:00
defaultConfig {
applicationId "com.muqingbfq"
minSdk 23
2024-01-31 04:02:10 +00:00
//noinspection ExpiredTargetSdkVersion,OldTargetApi
2023-10-21 14:07:35 +00:00
targetSdk 31
versionCode 1
2024-02-04 08:44:44 +00:00
versionName "1.9.9"
2023-10-21 14:07:35 +00:00
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
android.applicationVariants.configureEach {
variant ->
variant.outputs.configureEach {
//在这里修改apk文件名
outputFileName = "Cloud_music-${variant.name}-v${variant.versionName}.apk"
}
}
viewBinding {
enabled = true
}
2023-10-21 14:07:35 +00:00
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
2023-10-21 14:07:35 +00:00
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
2023-10-21 14:07:35 +00:00
implementation 'com.google.code.gson:gson:2.9.1'
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
implementation 'com.github.bumptech.glide:glide:4.16.0'
// 废弃的歌词组件
// implementation 'com.github.wangchenyan:lrcview:2.2.1'
implementation 'com.google.android.flexbox:flexbox:3.0.0'
2023-10-21 14:07:35 +00:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
//修改音乐标签库
implementation 'com.mpatric:mp3agic:0.9.1'
// 沉浸式状态栏
api project(path: ':StatusBarUtil')
api project(path: ':lrcview')
2023-10-21 14:07:35 +00:00
}