plugins { id 'com.android.application' } android { namespace 'com.example.jingyuan_mes' compileSdk 33 defaultConfig { applicationId "com.example.jingyuan_mes" minSdk 26 targetSdk 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } buildFeatures { viewBinding true dataBinding true } compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } } dependencies { implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0")) implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.8.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' implementation 'com.lzy.net:okgo:3.0.4' // https://mvnrepository.com/artifact/com.google.code.gson/gson implementation 'com.google.code.gson:gson:2.10.1' // https://mvnrepository.com/artifact/com.contrarywind/Android-PickerView // implementation 'com.contrarywind:Android-PickerView:4.1.9' // https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 implementation 'com.alibaba.fastjson2:fastjson2:2.0.45' // https://mvnrepository.com/artifact/com.github.bumptech.glide/glide implementation 'com.github.bumptech.glide:glide:4.16.0' implementation 'io.github.scwang90:refresh-layout-kernel:2.0.6' //核心必须依赖 implementation 'io.github.scwang90:refresh-footer-classics:2.0.6' //经典加载 }