apply plugin: 'com.android.library' android { compileSdkVersion 30 defaultConfig { minSdkVersion 19 targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility = '1.8' targetCompatibility = '1.8' } ndkVersion '22.1.7171670' buildToolsVersion '30.0.3' } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) testImplementation 'junit:junit:4.12' //Facebook Spring动画库 implementation 'com.facebook.rebound:rebound:0.3.8' //glide图片加载库 implementation 'com.github.bumptech.glide:glide:4.12.0' //权限申请 implementation 'com.yanzhenjie:permission:2.0.3' implementation 'androidx.appcompat:appcompat:1.3.0' }