apply plugin: 'com.android.library' android { compileSdkVersion 30 buildToolsVersion '30.0.1' defaultConfig { minSdkVersion 16 targetSdkVersion 30 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') }