apply plugin: 'com.android.application' android { compileSdkVersion 30 defaultConfig { applicationId "com.kongzue.dialogxdemo" minSdkVersion 21 targetSdkVersion 30 versionCode BUILD_VERSION_INT as int versionName BUILD_VERSION renderscriptTargetApi 21 renderscriptSupportModeEnabled true // Enable RS support } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } repositories { flatDir { dirs 'libs' } } dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.github.kongzue:BaseFramework:6.7.9.5' implementation 'com.github.kongzue.DialogX:DialogXIOSStyle:0.0.38' implementation 'com.github.kongzue.DialogX:DialogXKongzueStyle:0.0.38' implementation 'com.github.kongzue.DialogX:DialogXMIUIStyle:0.0.38' implementation 'com.github.kongzue:DialogXStyle-Snackbar:1.0.6' //implementation 'com.github.kongzue.dialogx:DialogX:0.0.37' implementation project(path: ':DialogX') }