2024-01-20 19:10:05 +02:00
|
|
|
apply plugin: 'com.android.library'
|
2024-01-22 18:16:09 +02:00
|
|
|
apply plugin: 'kotlin-android'
|
2024-01-20 19:10:05 +02:00
|
|
|
android {
|
|
|
|
compileSdk 34
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdk 21
|
|
|
|
targetSdk 34
|
|
|
|
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
|
|
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2024-01-22 18:16:09 +02:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8
|
|
|
|
}
|
2024-01-20 19:10:05 +02:00
|
|
|
|
|
|
|
namespace 'com.github.vkay94.dtpv'
|
|
|
|
}
|
|
|
|
|
2024-01-22 18:16:09 +02:00
|
|
|
// Add a new configuration to hold your dependencies
|
|
|
|
configurations {
|
|
|
|
libConfig
|
|
|
|
}
|
|
|
|
|
2024-01-20 19:10:05 +02:00
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation "androidx.appcompat:appcompat:1.6.1"
|
|
|
|
implementation "androidx.core:core-ktx:1.12.0"
|
|
|
|
|
|
|
|
implementation "androidx.media3:media3-exoplayer:1.2.1"
|
|
|
|
implementation "androidx.media3:media3-exoplayer-dash:1.2.1"
|
|
|
|
implementation "androidx.media3:media3-ui:1.2.1"
|
|
|
|
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
|
|
|
|
}
|