apply plugin: 'com.android.library' android { compileSdkVersion 29 defaultConfig { minSdkVersion 14 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.2.0' testImplementation 'junit:junit:4.13' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' implementation 'com.squareup.okhttp3:okhttp:4.5.0' //网络请求log 拦截器 implementation 'com.squareup.okhttp3:logging-interceptor:4.5.0' implementation 'com.squareup.okio:okio:2.6.0' implementation 'io.reactivex.rxjava2:rxjava:2.2.10' implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' implementation 'com.google.code.gson:gson:2.8.7' // implementation 'com.squareup.retrofit2:retrofit:2.5.0' api files('lib/android-xml-json.jar') implementation 'org.greenrobot:eventbus:3.1.1' } apply from: 'bintrayUpload.gradle'