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.0" 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.2.1' implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0' def room_version = "2.2.5" implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.work:work-runtime:2.4.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' testImplementation 'junit:junit:4.13.1' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.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.68' //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.ogaclejapan.smarttablayout:library:2.0.0@aar' implementation 'com.ogaclejapan.smarttablayout:utils-v4:2.0.0@aar' 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:$room_version" annotationProcessor "androidx.room:room-compiler:$room_version" }