apply plugin: 'com.android.library' android { compileSdkVersion 30 buildToolsVersion '30.0.2' defaultConfig { minSdkVersion 21 targetSdkVersion 27 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'androidx.appcompat:appcompat:1.0.0' compile 'androidx.annotation:annotation:1.0.0' compile 'com.github.chrisbanes.photoview:library:1.2.4' implementation files('../app/libs/pldroid-player-2.1.9.jar') } //apply from: '../bintray.gradle'