blob: b2aee1a9c4de24a151b7ac68a9f5aa25688a344c [file] [log] [blame]
Ruchika Ashtankar34f5d0e2019-10-09 19:28:42 +05301/*
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
17buildscript {
18 repositories {
19 google()
20 jcenter()
21 }
22 dependencies {
23 classpath 'com.android.tools.build:gradle:3.5.0'
24 }
25}
26
27apply plugin: 'com.android.application'
28
29android {
30 compileSdkVersion 29
31 defaultConfig {
32 applicationId "com.android.media.benchmark"
Neelkamal Semwalb523c512019-10-17 18:38:11 +053033 minSdkVersion 28
Ruchika Ashtankar34f5d0e2019-10-09 19:28:42 +053034 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 }
Neelkamal Semwalb523c512019-10-17 18:38:11 +053051 buildTypes {
52 release {
53 minifyEnabled false
54 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
55 }
56 }
57 externalNativeBuild {
58 cmake {
59 path "src/main/cpp/CMakeLists.txt"
60 version "3.10.2"
61 }
62 }
Ruchika Ashtankar34f5d0e2019-10-09 19:28:42 +053063}
64
65repositories {
66 google()
67 jcenter()
68}
69
70dependencies {
71 implementation fileTree(dir: 'libs', include: ['*.jar'])
72 implementation 'androidx.appcompat:appcompat:1.1.0'
73 testImplementation 'junit:junit:4.12'
74 androidTestImplementation 'androidx.test:runner:1.2.0'
75 androidTestImplementation 'androidx.test.ext:junit:1.1.1'
76}