apply plugin: 'com.android.library' android { compileSdkVersion 28 defaultConfig { minSdkVersion 15 targetSdkVersion 26 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled true shrinkResources false proguardFiles 'proguard-rules.pro' } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) } } android.libraryVariants.all { variant -> variant.outputs.all { outputFileName = 'yyxxrh_n-release-2.2.0_debug.aar' } } dependencies { implementation 'com.android.support:support-v4:28.0.0' }