1plugins {
2    id 'com.android.application'
3    id 'org.jetbrains.kotlin.android'
4}
5
6android {
7    namespace 'com.example.samplepip'
8    compileSdk 33
9
10    defaultConfig {
11        applicationId "com.example.samplepip"
12        minSdk 24
13        targetSdk 33
14        versionCode 1
15        versionName "1.0"
16
17        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18        vectorDrawables {
19            useSupportLibrary true
20        }
21    }
22
23    buildTypes {
24        release {
25            minifyEnabled false
26            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
27        }
28    }
29    compileOptions {
30        sourceCompatibility JavaVersion.VERSION_1_8
31        targetCompatibility JavaVersion.VERSION_1_8
32    }
33    kotlinOptions {
34        jvmTarget = '1.8'
35    }
36    buildFeatures {
37        compose true
38    }
39    composeOptions {
40        kotlinCompilerExtensionVersion '1.4.0'
41    }
42    packagingOptions {
43        resources {
44            excludes += '/META-INF/{AL2.0,LGPL2.1}'
45        }
46    }
47}
48
49dependencies {
50    implementation 'androidx.core:core-ktx:1.10.1'
51    implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
52    implementation 'androidx.activity:activity-compose:1.7.2'
53    implementation "androidx.compose.ui:ui:$compose_ui_version"
54    implementation "androidx.compose.ui:ui-tooling-preview:$compose_ui_version"
55    implementation 'androidx.compose.material3:material3:1.0.0'
56    implementation 'androidx.compose.material:material:1.3.0'
57    implementation "androidx.media3:media3-exoplayer:$media3_version"
58    implementation "androidx.media3:media3-exoplayer-dash:$media3_version"
59    implementation "androidx.media3:media3-ui:$media3_version"
60    testImplementation 'junit:junit:4.13.2'
61    androidTestImplementation 'androidx.test.ext:junit:1.1.5'
62    androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
63    androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_ui_version"
64    debugImplementation "androidx.compose.ui:ui-tooling:$compose_ui_version"
65    debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_ui_version"
66}