1/* 2 * Copyright (C) 2020 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17apply plugin: 'com.android.application' 18 19android { 20 compileSdkVersion 30 21 buildToolsVersion "30.0.2" 22 23 defaultConfig { 24 applicationId "com.android.media.samplevideoencoder" 25 minSdkVersion 24 26 targetSdkVersion 30 27 versionCode 1 28 versionName "1.0" 29 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 30 } 31 32 buildTypes { 33 release { 34 minifyEnabled false 35 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 36 } 37 } 38} 39 40dependencies { 41 implementation fileTree(dir: "libs", include: ["*.jar"]) 42 implementation 'androidx.appcompat:appcompat:1.2.0' 43 implementation 'androidx.constraintlayout:constraintlayout:2.0.4' 44 testImplementation 'junit:junit:4.13.1' 45 androidTestImplementation 'androidx.test:runner:1.3.0' 46 androidTestImplementation 'androidx.test.ext:junit:1.1.2' 47 androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' 48}