fedilab-Android-App/doubletapplayerview/build.gradle

48 lines
1.2 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
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
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
}
namespace 'com.github.vkay94.dtpv'
}
// Add a new configuration to hold your dependencies
configurations {
libConfig
}
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"
}