plugins { id 'com.android.application' id 'kotlin-android' } android { signingConfigs { yutou { storeFile file('D:\\AndroidKeys\\yutou.jks') storePassword '34864394' keyAlias 'yutou' keyPassword '34864394' } } compileSdkVersion 30 buildToolsVersion "30.0.2" defaultConfig { applicationId "com.yutou.nas_music_player" minSdkVersion 23 targetSdkVersion 30 versionCode 1 versionName "1.1" 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' } } dependencies { implementation 'com.google.android.material:material:1.4.0' implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0' implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.1' implementation 'androidx.work:work-runtime:2.5.0' implementation 'androidx.recyclerview:recyclerview:1.2.0' 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 'com.android.support:support-media-compat:28.0.0' implementation 'androidx.palette:palette: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.2.6" annotationProcessor "androidx.room:room-compiler:2.2.6" implementation("com.squareup.okhttp3:okhttp:4.9.3") }