2023-10-21 14:07:35 +00:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
2024-02-21 10:20:05 +00:00
|
|
|
id 'kotlin-android'
|
2023-10-21 14:07:35 +00:00
|
|
|
}
|
|
|
|
android {
|
2023-11-22 10:11:08 +00:00
|
|
|
signingConfigs {
|
|
|
|
debug {
|
2024-01-30 11:32:15 +00:00
|
|
|
storeFile file('../muqing.jks')
|
2023-11-22 10:11:08 +00:00
|
|
|
storePassword 'muqing153'
|
|
|
|
keyAlias 'muqing'
|
|
|
|
keyPassword 'muqing153'
|
|
|
|
}
|
|
|
|
}
|
2023-10-21 14:07:35 +00:00
|
|
|
namespace 'com.muqingbfq'
|
2024-02-17 09:31:37 +00:00
|
|
|
compileSdk 33
|
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-21 10:24:34 +00:00
|
|
|
versionName "2.1.0"
|
2023-10-21 14:07:35 +00:00
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2024-02-08 12:40:14 +00:00
|
|
|
// shrinkResources true
|
|
|
|
minifyEnabled true
|
2023-10-21 14:07:35 +00:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|
2024-02-21 10:20:05 +00:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
2023-12-02 05:00:08 +00:00
|
|
|
viewBinding {
|
|
|
|
enabled = true
|
|
|
|
}
|
2023-10-21 14:07:35 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2024-02-21 10:20:05 +00:00
|
|
|
implementation 'androidx.core:core-ktx:1.7.0'
|
2023-10-21 14:07:35 +00:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
|
|
implementation 'com.google.android.material:material:1.9.0'
|
2024-01-30 11:32:15 +00:00
|
|
|
|
2023-10-21 14:07:35 +00:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
2023-11-26 07:14:14 +00:00
|
|
|
|
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'
|
2024-02-17 09:31:37 +00:00
|
|
|
//图片处理
|
2023-10-21 14:07:35 +00:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.16.0'
|
2024-02-21 10:20:05 +00:00
|
|
|
|
2024-02-17 09:31:37 +00:00
|
|
|
implementation "androidx.palette:palette:1.0.0"
|
2023-12-30 02:01:18 +00:00
|
|
|
// 废弃的歌词组件
|
|
|
|
// implementation 'com.github.wangchenyan:lrcview:2.2.1'
|
2023-11-22 10:11:08 +00:00
|
|
|
implementation 'com.google.android.flexbox:flexbox:3.0.0'
|
2023-10-21 14:07:35 +00:00
|
|
|
|
2023-11-26 07:14:14 +00:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
|
2023-12-08 08:31:48 +00:00
|
|
|
//修改音乐标签库
|
|
|
|
implementation 'com.mpatric:mp3agic:0.9.1'
|
2024-01-02 06:19:36 +00:00
|
|
|
|
2024-01-30 11:32:15 +00:00
|
|
|
// 沉浸式状态栏
|
2024-02-21 10:20:05 +00:00
|
|
|
implementation project(path: ':StatusBarUtil')
|
|
|
|
// api project(path: ':lrcview')
|
|
|
|
//歌词组件库
|
|
|
|
api "com.github.cy745:EaseView:e11c3208a9"
|
|
|
|
api "androidx.dynamicanimation:dynamicanimation-ktx:1.0.0-alpha03"
|
2023-10-21 14:07:35 +00:00
|
|
|
}
|