apply plugin: 'com.android.library' android { compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 2 versionName "2.0.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') api "androidx.appcompat:appcompat:$rootProject.ext.androidxVersion" api "com.google.android.material:material:$rootProject.ext.androidxVersion" api "androidx.preference:preference:1.1.0" api 'androidx.cardview:cardview:1.0.0' api 'androidx.gridlayout:gridlayout:1.0.0' api "androidx.constraintlayout:constraintlayout:$rootProject.ext.androidxConstraintVersion" api "com.scwang.smartrefresh:SmartRefreshLayout:$rootProject.ext.SmartRefreshLayoutVersion" // eventbus api "org.greenrobot:eventbus:$rootProject.ext.eventbusVersion" api "com.google.zxing:core:$rootProject.ext.zxingVersion" api "io.reactivex.rxjava2:rxandroid:$rootProject.ext.rxAndroid2Version" api "io.reactivex.rxjava2:rxjava:$rootProject.ext.rxjava2Version" api "com.squareup.retrofit2:retrofit:$rootProject.ext.retrofit2Version" api "com.squareup.retrofit2:adapter-rxjava2:$rootProject.ext.adapter2Rxjava" api "com.squareup.retrofit2:converter-gson:$rootProject.ext.converterGson" api "com.squareup.retrofit2:converter-scalars:$rootProject.ext.converterScalars" api "com.squareup.okhttp3:logging-interceptor:$rootProject.ext.loggingInterceptor" api "com.tbruyelle.rxpermissions2:rxpermissions:$rootProject.ext.rxpermissions@aar" api "com.squareup.okhttp3:okhttp:$rootProject.ext.okhttpVersion" api "com.squareup.okio:okio:$rootProject.ext.okioVersion" api "com.trello.rxlifecycle2:rxlifecycle:$rootProject.ext.rxlifecycle" api "com.trello.rxlifecycle2:rxlifecycle-android:$rootProject.ext.rxlifecycle" api "com.trello.rxlifecycle2:rxlifecycle-components:$rootProject.ext.rxlifecycle" api 'com.gyf.immersionbar:immersionbar:3.0.0-beta05' api 'com.nineoldandroids:library:2.4.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' }