apply plugin: 'com.android.library' ext { PUBLISH_GROUP_ID = "com.kongzue.dialogx" PUBLISH_ARTIFACT_ID = 'DialogXMIUIStyle' PUBLISH_VERSION = BUILD_VERSION } apply from: "${rootProject.projectDir}/publish-mavencentral.gradle" android { compileSdkVersion 30 defaultConfig { minSdkVersion 21 targetSdkVersion 30 versionCode BUILD_VERSION_INT as int versionName BUILD_VERSION } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) }