apply plugin: 'com.android.library' android { compileSdkVersion 31 buildToolsVersion '30.0.3' defaultConfig { minSdkVersion 16 targetSdkVersion 31 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' consumerProguardFiles 'proguard-rules.pro' } } } if (new File('scripts/upload.gradle').exists()) { apply from: rootProject.file('scripts/upload.gradle') }