apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' group='shihoo.wang' android { compileSdkVersion 30 defaultConfig { minSdkVersion 18 targetSdkVersion 30 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { api 'io.reactivex.rxjava2:rxjava:2.0.1' api 'com.android.support:support-annotations:+' }