plugins { id 'com.android.library' } android { compileSdk 31 defaultConfig { minSdk 21 targetSdk 31 consumerProguardFiles "consumer-rules.pro" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } } dependencies { implementation fileTree(dir: 'libs', include: '*.jar') }