apply plugin: 'com.android.library' android { compileSdkVersion 26 buildToolsVersion '28.0.3' resourcePrefix "XRefreshView" defaultConfig { minSdkVersion 14 targetSdkVersion 26 versionCode 1 versionName "1.0.1" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { abortOnError false } } dependencies { compile 'com.android.support:recyclerview-v7:26.1.0' compile 'com.android.support:support-v4:26.1.0' }