apply plugin: 'com.android.library' android { compileSdkVersion 29 buildToolsVersion '29.0.2' resourcePrefix "XRefreshView" defaultConfig { minSdkVersion 24 targetSdkVersion 29 versionCode 1 versionName "1.0.1" } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { abortOnError false } } dependencies { api 'androidx.recyclerview:recyclerview:1.0.0' api 'androidx.legacy:legacy-support-v4:1.0.0' }