plugins { alias(libs.plugins.androidApplication) } android { namespace 'com.police.union' compileSdk 34 defaultConfig { applicationId "com.police.policedatasystem" minSdk 24 targetSdk 34 versionCode 10000 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } buildFeatures { compose true viewBinding true } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0' implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4' implementation 'androidx.recyclerview:recyclerview:1.3.2' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' // implementation 'com.squareup.retrofit2:adapter-okhttp3:2.9.0' // OkHttp适配器 implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' implementation 'com.scwang.smart:refresh-footer-classics:2.0.3'//经典刷新脚部局 implementation 'com.scwang.smart:refresh-header-classics:2.0.3'//经典刷新头布局 // implementation 'io.reactivex:rxjava:1.3.8' // implementation 'io.reactivex:rxandroid:1.2.1' implementation 'com.squareup.retrofit2:retrofit:2.9.0' // 根据需要选择合适的版本 implementation 'com.squareup.retrofit2:converter-gson:2.9.0' // 如果你使用 Gson 进行 JSON 转换 implementation 'com.squareup.okhttp3:logging-interceptor:4.7.2' // implementation 'com.squareup.okhttp3:okhttp:4.8.1' // OkHttp库 implementation 'com.github.bumptech.glide:glide:4.16.0' implementation 'com.google.android.material:material:1.8.0' implementation 'androidx.navigation:navigation-fragment:2.5.3' implementation 'androidx.navigation:navigation-ui:2.5.3' implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1' implementation libs.activity implementation project(':base') implementation project(':network') implementation project(':utils') }