plugins { alias(libs.plugins.androidLibrary) } android { namespace 'com.zzyd.http' compileSdk 34 defaultConfig { minSdk 24 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation libs.appcompat implementation libs.material testImplementation libs.junit androidTestImplementation libs.ext.junit androidTestImplementation libs.espresso.core implementation project(':datalibrary') //lombok 组件 compileOnly 'org.projectlombok:lombok:1.18.34' annotationProcessor 'org.projectlombok:lombok:1.18.34' // 新的网络访问框架 api "com.squareup.retrofit2:retrofit:2.9.0" api "com.squareup.retrofit2:adapter-rxjava2:2.5.0" api "com.squareup.retrofit2:converter-gson:2.9.0" api 'org.ligboy.retrofit2:converter-fastjson-android:2.1.0' // implementation 'com.squareup.okhttp3:okhttp:4.9.0' api 'com.squareup.okhttp3:logging-interceptor:4.9.3' //Android异步库RxAndroid api 'io.reactivex.rxjava2:rxandroid:2.1.1' api 'io.reactivex.rxjava2:rxjava:2.2.6' api 'com.github.yangchong211.YCAndroidTool:MonitorFileLib:1.2.8' api 'com.github.yangchong211.YCAndroidTool:MonitorNetLib:1.2.8' }