1/*
2 * Copyright (C) 2018 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
18/*
19 * Experimental gradle configuration.  This file may not be up to date.
20 */
21
22apply plugin: 'com.android.application'
23apply plugin: 'com.google.protobuf'
24
25android {
26    compileSdkVersion 29
27    buildToolsVersion '29.0.2'
28
29    compileOptions() {
30        sourceCompatibility JavaVersion.VERSION_1_8
31        targetCompatibility JavaVersion.VERSION_1_8
32    }
33
34    lintOptions {
35        abortOnError false
36    }
37
38    defaultConfig {
39        minSdkVersion 23
40        resConfigs "en"
41        targetSdkVersion 28
42        versionCode 1
43        versionName "1.0"
44    }
45
46    buildTypes {
47        debug {
48            minifyEnabled false
49        }
50        release {
51            minifyEnabled true
52        }
53    }
54
55    sourceSets {
56        main {
57            res.srcDirs = ['res']
58            java.srcDirs = ['src', '../../partner_support/src']
59            manifest.srcFile 'AndroidManifest.xml'
60        }
61    }
62}
63
64dependencies {
65    implementation      'androidx.leanback:leanback:1.1.0-alpha02'
66    implementation      'androidx.palette:palette:1.0.0'
67    implementation      'androidx.tvprovider:tvprovider:1.0.0'
68
69    implementation      'com.google.android.exoplayer:exoplayer-ui:2.10.1'
70    annotationProcessor 'com.google.auto.value:auto-value:1.5.3'
71    implementation      'com.google.auto.value:auto-value:1.5.3'
72    implementation      'com.google.dagger:dagger:2.23'
73    implementation      'com.google.dagger:dagger-android:2.23'
74    annotationProcessor 'com.google.dagger:dagger-android-processor:2.23'
75    annotationProcessor 'com.google.dagger:dagger-compiler:2.23'
76
77    implementation      project(':common')
78    implementation      project(':tuner')
79}
80