Ruchika Ashtankar | 34f5d0e | 2019-10-09 19:28:42 +0530 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2019 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 | |
| 17 | buildscript { |
| 18 | repositories { |
| 19 | google() |
| 20 | jcenter() |
| 21 | } |
| 22 | dependencies { |
| 23 | classpath 'com.android.tools.build:gradle:3.5.0' |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | apply plugin: 'com.android.application' |
| 28 | |
| 29 | android { |
| 30 | compileSdkVersion 29 |
| 31 | defaultConfig { |
| 32 | applicationId "com.android.media.benchmark" |
| 33 | minSdkVersion 21 |
| 34 | targetSdkVersion 29 |
| 35 | versionCode 1 |
| 36 | versionName "1.0" |
| 37 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| 38 | } |
| 39 | sourceSets { |
| 40 | main { |
| 41 | java.srcDirs 'src/main/java' |
| 42 | res.srcDirs 'res' |
| 43 | manifest.srcFile 'AndroidManifest.xml' |
| 44 | } |
| 45 | androidTest { |
| 46 | java.srcDirs 'src/androidTest/java' |
| 47 | res.srcDirs 'res' |
| 48 | manifest.srcFile 'AndroidManifest.xml' |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | repositories { |
| 54 | google() |
| 55 | jcenter() |
| 56 | } |
| 57 | |
| 58 | dependencies { |
| 59 | implementation fileTree(dir: 'libs', include: ['*.jar']) |
| 60 | implementation 'androidx.appcompat:appcompat:1.1.0' |
| 61 | testImplementation 'junit:junit:4.12' |
| 62 | androidTestImplementation 'androidx.test:runner:1.2.0' |
| 63 | androidTestImplementation 'androidx.test.ext:junit:1.1.1' |
| 64 | } |