• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1plugins {
2    id 'com.android.application'
3}
4
5android {
6    compileSdk 31
7    compileSdkVersion rootProject.ext.compileSdkVersion
8    buildToolsVersion rootProject.ext.buildToolsVersion
9
10    defaultConfig {
11        applicationId "com.android.tv.samples.sampletvinteractiveappservice"
12        minSdkVersion rootProject.ext.minSdkVersion
13        targetSdkVersion rootProject.ext.targetSdkVersion
14        versionCode rootProject.ext.versionCode
15        versionName rootProject.ext.versionName
16    }
17    android.applicationVariants.all { variant ->
18        variant.outputs.all {
19            outputFileName = "SampleTvInteractiveAppService-v${defaultConfig.versionName}.apk"
20        }
21    }
22    buildTypes {
23        release {
24            minifyEnabled false
25            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
26        }
27    }
28}
29dependencies {
30    implementation 'androidx.leanback:leanback:1.0.0'
31}