apply plugin: 'com.android.library' android { compileSdkVersion 30 buildToolsVersion "30.0.3" defaultConfig { minSdkVersion 15 targetSdkVersion 30 versionCode 1001 versionName "4.1" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { api fileTree(dir: 'libs', include: ['*.jar']) api project(path: ':faceplatform-release') api 'com.squareup.retrofit2:retrofit:2.6.2' // implementation 'com.squareup.retrofit2:converter-gson:2.6.2' // implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.0' // implementation 'com.squareup.retrofit2:converter-scalars:2.0.0' //导入scalars包 //rxjava2 api 'io.reactivex.rxjava2:rxjava:2.2.15' api 'io.reactivex.rxjava2:rxandroid:2.1.1' }