apply plugin: 'com.android.library' android { compileSdkVersion 30 defaultConfig { minSdkVersion 21 targetSdkVersion 30 versionCode 1 versionName "1.0" vectorDrawables.useSupportLibrary = true } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } lintOptions { abortOnError false } configurations.all { resolutionStrategy { force 'androidx.core:core-ktx:1.2.0' } } } ext { PUBLISH_ARTIFACT_ID = "pictureselector" } dependencies { implementation 'androidx.appcompat:appcompat:1.2.0' implementation "androidx.recyclerview:recyclerview:1.0.0" implementation 'androidx.activity:activity:1.4.0' implementation 'androidx.fragment:fragment:1.4.1' implementation "androidx.exifinterface:exifinterface:1.3.3" implementation "androidx.viewpager2:viewpager2:1.0.0" implementation "androidx.constraintlayout:constraintlayout:2.1.3" implementation "com.google.android.exoplayer:exoplayer:2.17.1" implementation 'com.google.android.exoplayer:exoplayer-core:2.10.5' implementation 'com.google.android.exoplayer:exoplayer-ui:2.10.5' implementation 'com.google.android.material:material:1.1.0' implementation 'androidx.core:core-ktx:1.2.0' implementation 'androidx.core:core:1.2.0' }