1*30877f79SAndroid Build Coastguard Worker// Copyright (C) 2019 The Android Open Source Project 2*30877f79SAndroid Build Coastguard Worker// 3*30877f79SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*30877f79SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*30877f79SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*30877f79SAndroid Build Coastguard Worker// 7*30877f79SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*30877f79SAndroid Build Coastguard Worker// 9*30877f79SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*30877f79SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*30877f79SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*30877f79SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*30877f79SAndroid Build Coastguard Worker// limitations under the License. 14*30877f79SAndroid Build Coastguard Workerapply from: '../../constants.gradle' 15*30877f79SAndroid Build Coastguard Workerapply plugin: 'com.android.application' 16*30877f79SAndroid Build Coastguard Worker 17*30877f79SAndroid Build Coastguard Workerandroid { 18*30877f79SAndroid Build Coastguard Worker compileSdkVersion project.ext.compileSdkVersion 19*30877f79SAndroid Build Coastguard Worker 20*30877f79SAndroid Build Coastguard Worker compileOptions { 21*30877f79SAndroid Build Coastguard Worker sourceCompatibility JavaVersion.VERSION_1_8 22*30877f79SAndroid Build Coastguard Worker targetCompatibility JavaVersion.VERSION_1_8 23*30877f79SAndroid Build Coastguard Worker } 24*30877f79SAndroid Build Coastguard Worker 25*30877f79SAndroid Build Coastguard Worker defaultConfig { 26*30877f79SAndroid Build Coastguard Worker versionName project.ext.releaseVersion 27*30877f79SAndroid Build Coastguard Worker versionCode project.ext.releaseVersionCode 28*30877f79SAndroid Build Coastguard Worker minSdkVersion 29 29*30877f79SAndroid Build Coastguard Worker targetSdkVersion project.ext.appTargetSdkVersion 30*30877f79SAndroid Build Coastguard Worker } 31*30877f79SAndroid Build Coastguard Worker 32*30877f79SAndroid Build Coastguard Worker buildTypes { 33*30877f79SAndroid Build Coastguard Worker release { 34*30877f79SAndroid Build Coastguard Worker shrinkResources true 35*30877f79SAndroid Build Coastguard Worker minifyEnabled true 36*30877f79SAndroid Build Coastguard Worker proguardFiles getDefaultProguardFile('proguard-android.txt') 37*30877f79SAndroid Build Coastguard Worker signingConfig signingConfigs.debug 38*30877f79SAndroid Build Coastguard Worker } 39*30877f79SAndroid Build Coastguard Worker } 40*30877f79SAndroid Build Coastguard Worker 41*30877f79SAndroid Build Coastguard Worker lintOptions { 42*30877f79SAndroid Build Coastguard Worker // This demo app does not have translations. 43*30877f79SAndroid Build Coastguard Worker disable 'MissingTranslation' 44*30877f79SAndroid Build Coastguard Worker } 45*30877f79SAndroid Build Coastguard Worker} 46*30877f79SAndroid Build Coastguard Worker 47*30877f79SAndroid Build Coastguard Workerdependencies { 48*30877f79SAndroid Build Coastguard Worker implementation project(modulePrefix + 'library-core') 49*30877f79SAndroid Build Coastguard Worker implementation project(modulePrefix + 'library-dash') 50*30877f79SAndroid Build Coastguard Worker implementation project(modulePrefix + 'library-hls') 51*30877f79SAndroid Build Coastguard Worker implementation project(modulePrefix + 'library-rtsp') 52*30877f79SAndroid Build Coastguard Worker implementation project(modulePrefix + 'library-smoothstreaming') 53*30877f79SAndroid Build Coastguard Worker implementation project(modulePrefix + 'library-ui') 54*30877f79SAndroid Build Coastguard Worker implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion 55*30877f79SAndroid Build Coastguard Worker} 56