plugins { id 'com.android.application' id 'kotlin-android' } android { signingConfigs { yutou { storeFile file('D:\\AndroidKeys\\yutou.jks') storePassword '34864394' keyAlias 'yutou' keyPassword '34864394' } } compileSdkVersion 32 defaultConfig { applicationId "com.yutou.nas_music_player" minSdkVersion 23 targetSdkVersion 32 versionCode 1 versionName "1.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' signingConfig signingConfigs.yutou } debug { signingConfig signingConfigs.yutou } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } namespace 'com.yutou.nas_music_player' } dependencies { implementation 'com.google.android.material:material:1.6.1' implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0' implementation fileTree(dir: "libs", include: ["*.aar"]) implementation "org.jetbrains.kotlin:kotlin-stdlib:1.6.21" implementation 'androidx.appcompat:appcompat:1.4.2' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.work:work-runtime:2.7.1' implementation 'androidx.recyclerview:recyclerview:1.2.1' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' implementation 'com.github.bumptech.glide:glide:4.11.0' implementation 'jp.wasabeef:glide-transformations:4.3.0' implementation 'jp.co.cyberagent.android:gpuimage:2.1.0' implementation 'com.alibaba:fastjson:1.2.78' //noinspection GradleCompatible implementation "androidx.media:media:1.6.0" implementation 'androidx.palette:palette-ktx:1.0.0' implementation 'com.github.zrunker:ZTextView:v1.0.2' //debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.5' //内存泄漏检测工具 implementation 'com.kaopiz:kprogresshud:1.2.0' implementation 'com.github.promeg:tinypinyin:2.0.3' implementation 'com.github.myinnos:AlphabetIndex-Fast-Scroll-RecyclerView:1.0.95' implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' implementation "androidx.room:room-runtime:2.4.3" annotationProcessor "androidx.room:room-compiler:2.4.3" implementation("com.squareup.okhttp3:okhttp:4.9.3") }