1apply plugin: 'com.android.application' 2 3android { 4 compileSdkVersion 27 5 defaultConfig { 6 applicationId "com.example.android.pictureinpicture" 7 minSdkVersion 26 8 targetSdkVersion 27 9 versionCode 1 10 versionName "1.0" 11 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 12 } 13 buildTypes { 14 release { 15 minifyEnabled false 16 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 } 18 } 19} 20 21dependencies { 22 compile fileTree(dir: 'libs', include: ['*.jar']) 23 androidTestCompile('com.androidx.test.espresso:espresso-core:2.2.2', { 24 exclude group: 'com.android.support', module: 'support-annotations' 25 }) 26 compile 'com.android.support:appcompat-v7:27.0.0' 27 compile 'com.android.support:support-media-compat:27.0.0' 28 29 testCompile 'junit:junit:4.12' 30} 31